Running multiple logstash configuration files in a single docker run command

How to run multiple logstash.conf files for example (first-pipeline.conf and second-pipeline.conf) in a single logstash docker run command in linux environment(centos7)

I would use a bind-mount to mount a pipelines.yml file at /usr/share/logstash/config/pipelines.yml with contents like this:

---
- pipeline.id: alpha
  path.config: /pipelines/alpha
- pipeline.id: bravo
  path.config: /pipelines/bravo

Then I'd use another bind-mount to place my pipeline configurations at /pipelines inside the container.

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