Changing logstash config in docker container

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.

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

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.

1 Like

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