Home
Softono
ecs-logging-java

ecs-logging-java

Open source Apache-2.0 Java
148
Stars
81
Forks
31
Issues
221
Watchers
1 week
Last Commit

About ecs-logging-java

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

Platforms

Web Self-hosted

Languages

Java

Build Status Maven Central

ECS-based logging for Java applications

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.

Documentation

Docs are located on elastic.co.

License

ECS Logging Java is licensed under Apache License, Version 2.0.