Why log4j plugin for logstash is deprecated?

(abc) #1


I want to use log4j for my application to write the log via stream mode to logstash by its log4j plugin.
But from website below:
it tells "This plugin is deprecated. It is recommended that you use filebeat to collect logs from log4j."

Does anyone know why log4j plugin for logstash is deprecated? I don't want to use log file mode via filebeat ...


(bert vervaele) #2

They changed a lot in elastic version 5. Since then some functionalities changed and thats one of them.
I if you realy want to use log4j you should get an older version.

(Magnus B├Ąck) #3

Have you read https://www.elastic.co/blog/log4j-input-logstash?

(abc) #4

Thanks for sharing, is that the key reason behind? This vulnerability only affects Log4j 2.x version before 2.8.2, While 2.8.2 should fix this issue. I still don't know why deprecate this plugin totally instead of fix it.

(abc) #5

Thanks for the suggestion, but older version seems not maintained anymore.

(system) #6

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