Logstash log files not in /var/log/logstash


(Archelle Pagapulan) #1

Hi,

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


(Magnus B├Ąck) #2

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

https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html


(Archelle Pagapulan) #3

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


(system) #4

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