logstash automatic config reload 1

logstash automatic config reload

bin/logstash -f apache.config --config.reload.automatic

Here is what the above code is Doing:
1. We’re using the os module to run the logstash command.
2. We’re using the -f flag to specify the configuration file.
3. We’re using the –config.reload.automatic flag to tell logstash to watch the configuration file for changes.

Similar Posts