# How to run Logstash Multiple Pipelines?

**URL:** <https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346>\
**Category:** Logstash\
**Created:** [August 18, 2020, 5:17am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346 "2020-08-18T05:17:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amantha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amantha/32/73592_2.png) [@Amantha](https://discuss.elastic.co/u/Amantha)\
**Post date:** [August 18, 2020, 5:17am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/1 "2020-08-18T05:17:26Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a0e1ad37854310ad7718cf55dd27d304a5fe7950.png)

I configured pipelines.yml file as shown as the image and i created two logstash conf files. **I want to know how to run multiple pipelines.**

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 18, 2020, 5:19am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/2 "2020-08-18T05:19:44Z")

</div>

Have you seen [https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html](https://www.elastic.co/guide/en/logstash/current/multiple-pipelines.html)?

---

<div class="post-metadata">

**Author:** ![Amantha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amantha/32/73592_2.png) [@Amantha](https://discuss.elastic.co/u/Amantha)\
**Post date:** [August 18, 2020, 5:48am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/3 "2020-08-18T05:48:44Z")

</div>

I checked it. But i need the command to run in linux. Can you tell it me please?

---

<div class="post-metadata">

**Author:** ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)\
**Post date:** [August 18, 2020, 6:25am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/4 "2020-08-18T06:25:44Z")

</div>

You only need to start the Logstash service. If everything is set up correctly, it should find its settings directory and the pipelines.yml in it. But your configuration is missing the dashes.

---

<div class="post-metadata">

**Author:** ![Amantha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amantha/32/73592_2.png) [@Amantha](https://discuss.elastic.co/u/Amantha)\
**Post date:** [August 18, 2020, 6:31am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/5 "2020-08-18T06:31:19Z")

</div>

can you provide those changes?  
shoud i do some changes to logstash.yml?

please mention all the changes.

---

<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:** [September 15, 2020, 6:31am UTC](https://discuss.elastic.co/t/how-to-run-logstash-multiple-pipelines/245346/6 "2020-09-15T06:31:29Z")

</div>

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