Logstash path.data

Hi, I am wondering what the path.data compared to path.settings.

I was deploying a couple of .conf files under /etc/logstash/conf.d/ directory via cmd line and it complained that it cannot find the --path.settings and switched to default.

Does re-starting logstash service automatically loads the path.settings and reads the new configs?

Thanks in advance,

I might sound like a smart-ass, but: path.data is the directory for the data of Logstash and path.settings is the path for the settings … :stuck_out_tongue: To be more precise: The ‚data‛ is everything that Logstash saves on the hard drive while executing its pipelines, e.g the event information from the persistent queue and other status information that it might need in case of a crash or restart. The ‚settings‛ are the yml and conf files that tell Logstash what to do.

Your configuration changes should be applied whenever Logstash is restarted or a SIGHUP signal is sent or if the automatic reload is activated.

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

Hi Jenni,

Thank you for the quick response. I enabled the 'automatic reload' option but maybe got a bit tangled up as I also re-started the service at the same time.

Thanks again.

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