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.
- Pino via @elastic/ecs-pino-format (docs, changelog)
- Winston via @elastic/ecs-winston-format (docs, changelog)
- Morgan via @elastic/ecs-morgan-format (docs, changelog)
This software is licensed under the Apache 2 license.