Logging from Java app to ELK without need for parsing logs

后端 未结 4 1370
无人及你
无人及你 2020-12-28 19:06

I want to send logs from a Java app to ElasticSearch, and the conventional approach seems to be to set up Logstash on the server running the app, and have logstash parse the

4条回答
  •  隐瞒了意图╮
    2020-12-28 19:44

    There is also https://github.com/elastic/java-ecs-logging which provides a layout for log4j, log4j2 and Logback. It's quite efficient and the Filebeat configuration is very minimal.

    Disclaimer: I'm the author of this library.

提交回复
热议问题