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 UI to inspect all logs in one single place. See ecs-logging for other ECS logging libraries and more resources about ECS & logging.
Please note that the packages provided from this repo are in beta and backwards-incompatible changes might be introduced in releases during the "0.x" series. "1.0.0" versions will be released when no longer in beta.
- Pino via @elastic/ecs-pino-format
- Winston via @elastic/ecs-winston-format
- Morgan via @elastic/ecs-morgan-format
This software is licensed under the Apache 2 license.