Closed ipalbeniz closed 2 years ago
Sure, if you feel it would be useful to have this example as well - go ahead and add it. Thanks!
New appender included in https://github.com/elastic/ecs-logging-java/pull/138
Hi @eyalkoren, Do you know when will it be released?
Hi!
I'm using "logback-ecs-encoder" to write logs in ECS Json format into a file, using the appender available in "co/elastic/logging/logback/boot/ecs-file-appender.xml".
I think it would be great to have another appender to write the log in ECS Json format to the console because an increasing amount of people is reading the logs from console in kubernetes (https://www.elastic.co/guide/en/ecs-logging/java/1.x/setup.html#setup-step-3)
¿Would it be possible to have a new appender like "co/elastic/logging/logback/boot/ecs-console-appender.xml" inside "logback-ecs-encoder"?
The content could be similar to:
If you see it reasonable I would be willing to send a pull request :smile: