Changing logstash config in docker container


#1

Hi,
I would like to reload the logstash configuration files automatically after they have changed. Normally this should happen with bin/logstash –f apache.config --config.reload.automatic but the docker container in logstash looks different and I can't find a way to apply the changes to my logstash.


(Magnus Bäck) #2

More details please. Which Docker image are you using? How are you starting the container?


#3

Hi, I fixed the issue. I am using the docker-elk image from deviantony.
I simply added command: --config.reload.automatic to my docker-compose.yml under the logstash configurations section.


(system) #4

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