# Use path.config in pipelines.yml and and remove from logstash.yml for mulltipipeline configuration

**URL:** <https://discuss.elastic.co/t/use-path-config-in-pipelines-yml-and-and-remove-from-logstash-yml-for-mulltipipeline-configuration/130443>\
**Category:** Logstash\
**Created:** [May 3, 2018, 11:32am UTC](https://discuss.elastic.co/t/use-path-config-in-pipelines-yml-and-and-remove-from-logstash-yml-for-mulltipipeline-configuration/130443 "2018-05-03T11:32:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![santoshgupta](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@santoshgupta](https://discuss.elastic.co/u/santoshgupta)\
**Post date:** [May 3, 2018, 11:32am UTC](https://discuss.elastic.co/t/use-path-config-in-pipelines-yml-and-and-remove-from-logstash-yml-for-mulltipipeline-configuration/130443/1 "2018-05-03T11:32:52Z")

</div>

I am using multi-pipeline feature.  
Now "path.config" in logstash.yaml is of no use to me, as I am mentioning that in my pipelines.yaml.  
So, I removed "path.config" from logstash.yaml.

My logstashs.yml looks like this -  
\<  
path.data: /var/lib/logstash  
path.logs: /var/log/logstash  
/\>

My pipelines.yml looks like this -  
\<

- pipeline.id: abc  
path.data: /path-to-data  
path.config: /path-to-config/pqr.conf  
path.logs: /path-to-logs/logs.conf  
queue.type: persisted  
/\>

I am getting the error that configuration file is not provided.  
ERROR: No configuration file was specified. Perhaps you forgot to provide the '-f yourlogstash.conf' flag?

---

<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 31, 2018, 11:33am UTC](https://discuss.elastic.co/t/use-path-config-in-pipelines-yml-and-and-remove-from-logstash-yml-for-mulltipipeline-configuration/130443/2 "2018-05-31T11:33:01Z")

</div>

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