How to set auto-reloading conf files in logstash.yml or pipeline.yml

Hi All,
I know here is a feature that can auto-reloading conf files without logstash restart action.

So my question is easy, how to turn on auto-reloading function in logstash.yml or pipeline.yml ?
I need an working example of format, thanks.

#pipeline.yml pipeline19
config.reload.automatic: true
config.reload.interval: 10s
path.config: "/etc/logstash/pipeline/pattern1.conf"
queue.type: persisted

You can set it to true in logstash.yml.

1 Like

Thanks a lot Badger, i remember you have answered my other questions in last two years.
I have set it in pipeline.yml, it worked well, so looks like both logstash.yml and pipeline.yml are OK.

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