# Logstash v6 beta with multiple pipelines configuration

**URL:** <https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559>\
**Category:** Logstash\
**Created:** [October 3, 2017, 1:15pm UTC](https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559 "2017-10-03T13:15:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [October 3, 2017, 1:15pm UTC](https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559/1 "2017-10-03T13:15:52Z")

</div>

Hello,

Thanks for reading this. I am trying out Logstash v6 and multiple pipeline configuration, as per [https://www.elastic.co/guide/en/logstash/6.x/multiple-pipelines.html](https://www.elastic.co/guide/en/logstash/6.x/multiple-pipelines.html)

I have configured my pipelines.yml follows:

- [pipeline.id](http://pipeline.id): influxdb-remote  
path.config: "/etc/logstash/conf.d/logstash-influx-data.conf"  
pipeline.workers: 2

- [pipeline.id](http://pipeline.id): elasticsearch-remote  
path.config: "/etc/logstash/conf.d/logstash-test1.conf"  
pipeline.workers: 2

When I run logstash, without any option, I get the following message:  
sudo /usr/share/logstash/bin/logstash  
[WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600}  
.........  
[INFO][logstash.pipeline] Pipeline started {"[pipeline.id](http://pipeline.id)"=\>"main"}  
[INFO][logstash.agent] Pipelines running {:count=\>1, :pipelines=\>["main"]}

How to run multiple pipelines, so logstash doesnt ignore my pipelines.yml? I have no command line options or modules specified....  
How to verify how many pipelines I have running?

---

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [October 3, 2017, 3:09pm UTC](https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559/2 "2017-10-03T15:09:31Z")

</div>

Note, in above output there was only one pipeline started for two config files which are located in /etc/logstash/conf.d/ dir.  
pipelines.yml seems to have been ignored.

---

<div class="post-metadata">

**Author:** ![moriol](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@moriol](https://discuss.elastic.co/u/moriol)\
**Post date:** [October 4, 2017, 9:29am UTC](https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559/3 "2017-10-04T09:29:40Z")

</div>

It seems that path.config in Logstash in rpm needs to be commented out as per information on GitHub:

> <https://github.com/elastic/logstash/issues/8420>

Logstash will then use pipeline.yml.

---

<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:** [November 1, 2017, 9:29am UTC](https://discuss.elastic.co/t/logstash-v6-beta-with-multiple-pipelines-configuration/102559/4 "2017-11-01T09:29:48Z")

</div>

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