Running a pipeline with a short command

I have my conf files in the etc/logstash/conf.d/ directory, so whenever I run a pipeline I have to add this path to my command. ex:
bin/logstash -f /etc/logstash/conf.d/pipe.conf

what do I have to modify to run a pipeline just with this command:

bin/logstash -f pipe.conf

Hi

In my installation (logstash 7.4.0, docker), pipelines are configured in /usr/share/logstash/config/pipelines.yml. There you can set a path.config for each pipeline.

Hope this helps.

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