ecs-logging-nodejs
This set of libraries allows you to transform your application logs to structured logs that comply with the Elastic Common Schema (ECS). In combination with filebeat you can send your logs directly to Elasticsearch and leverage Kibana's Logs app to inspect all logs in one single place.
Please see the Node.js ECS logging documentation.
Supported logging frameworks
- Morgan via @elastic/ecs-morgan-format (docs)
- Pino via @elastic/ecs-pino-format (docs)
- Winston via @elastic/ecs-winston-format (docs)
Links
License
This software is licensed under the Apache 2 license.