# Running a pipeline with a short command

**URL:** <https://discuss.elastic.co/t/running-a-pipeline-with-a-short-command/212017>\
**Category:** Logstash\
**Created:** [December 16, 2019, 2:08pm UTC](https://discuss.elastic.co/t/running-a-pipeline-with-a-short-command/212017 "2019-12-16T14:08:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Incauto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/incauto/32/60149_2.png) [@Incauto](https://discuss.elastic.co/u/Incauto)\
**Post date:** [December 16, 2019, 2:08pm UTC](https://discuss.elastic.co/t/running-a-pipeline-with-a-short-command/212017/1 "2019-12-16T14:08:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ITIC](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@ITIC](https://discuss.elastic.co/u/ITIC)\
**Post date:** [December 19, 2019, 7:04am UTC](https://discuss.elastic.co/t/running-a-pipeline-with-a-short-command/212017/2 "2019-12-19T07:04:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 16, 2020, 7:04am UTC](https://discuss.elastic.co/t/running-a-pipeline-with-a-short-command/212017/3 "2020-01-16T07:04:28Z")

</div>

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