Log4j2 with Elasticsearch

Is there a option to send logs directly from log4j2 to elasticsearch?
If not what else the option? I beleive logstash is not supporting log4j2 as of now..

It's possible, but it requires a lot of work, and it's not documented (and unlikely to be documented). We are actively working on making this easier.

Have you tried my appenders?

Appending to Elasticsearch using port 9300 (version specific), latest is ES 1.7, not updated for quite a while)

or using HTTP over port 9200 (should work with all Elasticsearch versions)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.