# Error Starting logstash When Using path.config in pipelines.yml

**URL:** <https://discuss.elastic.co/t/error-starting-logstash-when-using-path-config-in-pipelines-yml/178096>\
**Category:** Logstash\
**Created:** [April 23, 2019, 6:37pm UTC](https://discuss.elastic.co/t/error-starting-logstash-when-using-path-config-in-pipelines-yml/178096 "2019-04-23T18:37:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thadc](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@thadc](https://discuss.elastic.co/u/thadc)\
**Post date:** [April 23, 2019, 6:37pm UTC](https://discuss.elastic.co/t/error-starting-logstash-when-using-path-config-in-pipelines-yml/178096/1 "2019-04-23T18:37:21Z")

</div>

Hi, I have a very simple pipelines.yml file defined with a single pipeline. It looks like this:

- pipeline.id: testPipe1  
path.config: "/tmp/test.conf"  
pipeline.workers: 1

when starting logstash I received the following error:

ERROR: Failed to read pipelines yaml file. Location [path to file].pipelines.yml

, where "path to file" is valid path to yaml file.

the contents of test.conf are:

input { stdin {} } output { stout {codec =\> rubydebug} }

when I comment out path.config line and use:

config.string: input { stdin {} } output { stout {codec =\> rubydebug} }

, then logstash creates the pipeline and starts up fine.

What is going on here? Grateful for any insights. thanks

---

<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:** [May 21, 2019, 6:42pm UTC](https://discuss.elastic.co/t/error-starting-logstash-when-using-path-config-in-pipelines-yml/178096/2 "2019-05-21T18:42:32Z")

</div>

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