kmiklas
(Keith Miklas)
October 1, 2019, 1:58pm
1
What is the easiest way to tell Logstash to reload its configuration (.conf) files?
I am now running the Elastic Stack, and Logstash, in a Docker container (sebp-elk, to be specific).
Now, I am restarting the entire container with this command:
sudo docker restart elk
...this is a bit overkill.
Is there a way to tell Logstash, "Hey, the config has changed. Please reload."
tyvm, Keith
Badger
October 1, 2019, 5:02pm
2
Add --config.reload.automatic to the command line. It will then reload the configuration whenever it changes.
kmiklas
(Keith Miklas)
October 1, 2019, 6:46pm
3
Thx for response. I'm running sebp-elk in a docker container.
I also want to do it manually for now.
Badger
October 1, 2019, 7:00pm
4
OK, send it a SIGHUP and it will reload the configuration.
system
(system)
Closed
October 29, 2019, 7:00pm
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.