ecs-logging-java
ecs-logging-java copied to clipboard
Centralized logging for Java applications with the Elastic stack made easy
layout field added and encode method modified by using the layout while adding the messages to the log file.
Hi, `EcsLayout` component is great for log4j2. But for now, we can't inject dynamic values in `EcsLayout` attributes. For instance; `serviceVersion` and `serviceNodeName` So it would be great to add...
Log4j2 `ObjectMessage`s are automatically converted to json objects. This makes the log statements fail, if the object cannot be converted to json or it generates invalid json. I would propose...
I'd like to see more options for how stack traces are formatted in the ECS logs to help in reducing the size of logs. Some examples: 1. Maximum depth 2....
I need to be able to transform some messages. For example obfuscate some information. I want to be able to do that at the encoder level and not before on...
Implementation for https://github.com/elastic/ecs-logging/pull/38
As logback user, I'd like to have the ability to create structured logs as https://github.com/elastic/ecs-logging-java/tree/master/log4j2-ecs-layout#structured-logging Currently the community relies on "net.logstash.logback.encoder.LogstashEncoder" to generate structured log statements which leverages `Markers`. Although...
Hi, because the "@timestamp" fields in ECS logging only support millisecond-precision, a sequence number is needed to keep the order of events. Adding this sequence number in FileBeat does not...
Hi there, I wanted to start a discussion about adding ECS formatting to the [Quarkus](https://quarkus.io/) framework. This issue describes what I was trying to achieve: https://github.com/quarkiverse/quarkus-logging-json/issues/132. Now I have a...