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: https://www.elastic.co/guide/en/logstash/current/plugins-inputs-log4j.html
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 ...
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.