Multiple pipelines using Logstash 6.0.0 docker image on kubernetes

In order to get multiple pipelines working w/ the official Logstash 6.0.0 docker image, I set the PATH_CONFIG environment variable to "", which sets path.config: null in /usr/share/logstash/config/logstash.yml. Since path.config is null in logstash.yml, logstash reads my custom /usr/share/logstash/config/pipelines.yml file instead of defaulting to loading conf files in the /usr/share/logstash/pipeline directory. I wanted to use pipeline.yml so I could tweak pipeline settings e.g. adding a persistent queue. It took me awhile to figure this out because it isn't clear in the documentation. Seems pretty hacky. Perhaps there's a better way? Would be nice to update the documentation too.



1 Like

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