Logs of elastic stack components should go to their respective log file

Hi Team,

I am seeing logs of elastic stack components such as Kibana, Logstash, filebeat are going everywhere like in /var/log/message , /var/log/daemon, journal.log and flooding filesystem.
how to make sure logs of elastic stack componenets only goes to their respective log file and rotate them frequently.

I know kibana by default throw output to stdout or in /var/log/messages file, how to make sure it write to its own log file and rotate also periodically.

Thanks,

Hi All,

Can someone please reply.

Thanks,

Hey @prat,

Have you tried to configure logging.dest and logging.rotate explained here:
https://www.elastic.co/guide/en/kibana/current/settings.html#settings?

Best,
Oleg

Hello @azasypkin

Thanks for your reply.

I will try above for kibana.

Can you please let me know the same for other components like elastocsearch, beats i.e logs to their respective log file and rotation.

Thanks,

It's easily discoverable if you just Google Beats logging configuration or Elasticsearch logging configuration or any other Elastic stack component:

Best,
Oleg

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