Sending Log4j logs(in XML format) to Elasticsearch using Filebeat


I need to send log files generated using Log4j on client machines to Elasticsearch installed on a server. I'm using Filebeat, but not Logstash.

Is there any other plugin, etc required, or can it just be done using Filebeat itself?


As mentioned here:

"This plugin is deprecated. It is recommended that you use filebeat to collect logs from log4j."

So, how do we collect logs from log4j using Filebeat?


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