Running new logstash config without stopping current instance

(Divit Sharma) #1

I am running logstash with below command

./bin/logstash -f /configfiles --config.reload.automatic &

First time I run logstash picks all the config files in the /configfiles folder and start running. After a while(suppose next day) if i put new config files in /configfiles folder, will logstash pick the new config files or not?

(R!) #2

If you have set the interval in logstash config, it will pickup new config after 60s i guess.

config.reload.interval: 3s

config.reload.interval: 60s

(Divit Sharma) #3

I thought the default reload interval is 3s. It would check the changes in logstash config which are already running for changes.

(system) #4

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