Logstash log files not in /var/log/logstash


Logstash put the logs in /usr/share/logstash/logs. How can we change it to put the logs in /var/logstash instead?

Here's my yml

config.reload.automatic: true
path.config: /etc/logstash/conf.d/*.conf
path.data: /var/lib/logstash
pipeline.output.workers: 3
pipeline.workers: 6

I start the logstash service using service logstash start

Have you tried changing the path.logs setting in your logstash.yml?


I thought, it automatically use the default when not configured, anyways thanks!

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