# Logstash v6.0 multi pipleline faining to run

**URL:** <https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689>\
**Category:** Logstash\
**Created:** [October 4, 2017, 11:33am UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689 "2017-10-04T11:33:22Z")\
**Posts on this page:** 5\
**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 4, 2017, 11:33am UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689/1 "2017-10-04T11:33:23Z")

</div>

Thanks for reading this!  
I am getting the following error when running logstash v6.0 with multi pipleline on Centos 7.3:

sudo /usr/share/logstash/bin/logstash  
Sending Logstash's logs to /var/log/logstash which is now configured via log4j2.properties  
ERROR: Failed to read pipelines yaml file. Location: /usr/share/logstash/config/pipelines.yml  
usage:  
bin/logstash -f CONFIG\_PATH [-t] [-r] [] [-w COUNT] [-l LOG]  
bin/logstash --modules MODULE\_NAME [-M "MODULE\_NAME.var.PLUGIN\_TYPE.PLUGIN\_NAME.VARIABLE\_NAME=VALUE"] [-t] [-w COUNT] [-l LOG]  
bin/logstash -e CONFIG\_STR [-t] [--log.level fatal|error|warn|info|debug|trace] [-w COUNT] [-l LOG]  
bin/logstash -i SHELL [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash -V [--log.level fatal|error|warn|info|debug|trace]  
bin/logstash --help

My pipelines file is as follows:  
cat pipelines.yml

- [pipeline.id](http://pipeline.id): infl-remote  
path.config: "/etc/logstash/conf.d/logstash-influx-data.conf"
- [pipeline.id](http://pipeline.id): elas-remote  
path.config: "/etc/logstash/conf.d/logstash-es-data.conf"

I can run each pipeline individually successfully. Pipelines.yml has full permissions.  
Any clues?

---

<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 5, 2017, 9:06am UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689/2 "2017-10-05T09:06:37Z")

</div>

Any clue how to troubleshoot this? debug output doesnt tell me more, except same error.

---

<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 5, 2017, 2:06pm UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689/3 "2017-10-05T14:06:42Z")

</div>

I found the error. I had only one white space before the path.config. There are two white spaces needed, otherwise pipelines will fail.

---

<div class="post-metadata">

**Author:** ![guyboertje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guyboertje/32/31592_2.png) [@guyboertje](https://discuss.elastic.co/u/guyboertje)\
**Post date:** [October 5, 2017, 5:17pm UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689/4 "2017-10-05T17:17:35Z")

</div>

Yeah, we have very recently become aware of this. The yaml parser that we use does not give us enough feedback if this happens and so we can't give you that feedback in turn.

We are looking to use a different yaml parser.

---

<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 2, 2017, 5:18pm UTC](https://discuss.elastic.co/t/logstash-v6-0-multi-pipleline-faining-to-run/102689/5 "2017-11-02T17:18:00Z")

</div>

Closed on November 2, 2017, 5:18pm UTC

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