Logstash input by log4j

Now I use logstash plugin "log4j" as input. And I have a question, log4j as a server to receive the log from applications, and when logstash is down and dead, the link between logstash and app is close. and Can log4j can cahce the log from the app?

Now I use logstash plugin "log4j" as input.

That's not recommended. See the plugin documentation for details.

And I have a question, log4j as a server to receive the log from applications, and when logstash is down and dead, the link between logstash and app is close.

Yes.

and Can log4j can cahce the log from the app?

Do you mean "cache", i.e. can Log4j cache log events until Logstash is back? Maybe, but you should focus your attention on migrating away from the log4j input.

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