ELK Exception handling

Hello,
We have done ELK setup in out application and that works fine

Issue: When ELK is down due to any reason then our main application is also not getting up, below is the exception

Could not create SyslogWriter java.net.UnknownHostException: elk: Try again
at java.net.UnknownHostException: elk: Try again

Any idea how to do Exception handling or How and what to configure in logstash that if it is not up then it should get skiped,
Thanks,
Sanjeev

Don't configure your application to talk directly to Logstash. Have it write its logs to a file that you ship with Filebeat or Logstash.

We have the applications different, And have docker images

When we start 1 microservices with docker image and ELK is not started, then we are getting the exception, Discovery microserice is dependent on ELK

We have configured ELK image in docker composer with other microservices,

Thanks,
Sanjeev

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