ECS Logging Java is a library that simplifies centralized logging for Java applications using the Elastic stack. It implements the Elastic Common Schema (ECS), a consistent specification for structuring log data, enabling seamless integration with Elasticsearch and Kibana for search, analysis, and visualization. Key features include support for popular Java logging frameworks such as Logback, Log4j2, and JBoss LogManager. The library automatically formats log events according to ECS, adding standardized fields like timestamps, log levels, service names, and trace identifiers. It supports MDC and context propagation, correlates logs with tracing systems including OpenTelemetry and Elastic APM, and works across several major Java application servers including Spring Boot, TomEE, and WildFly. Use cases include microservices architectures, cloud-native Java applications, distributed systems requiring observability, and any Java project aiming to ship structured logs directly to the Elastic stack without manual sc
Centralized logging for Java applications with the Elastic stack made easy
Release announcements
To get notified about new releases, watch this repository for Releases only.
Getting Help
If you need help or hit an issue, please start by opening a topic on our discuss forums.
Please note that we reserve GitHub tickets for confirmed bugs and enhancement requests.