# Can I config logstash to read config other than the path /etc/logstash/conf.d/

**URL:** <https://discuss.elastic.co/t/can-i-config-logstash-to-read-config-other-than-the-path-etc-logstash-conf-d/191561>\
**Category:** Logstash\
**Created:** [July 22, 2019, 3:31am UTC](https://discuss.elastic.co/t/can-i-config-logstash-to-read-config-other-than-the-path-etc-logstash-conf-d/191561 "2019-07-22T03:31:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmk1995](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mmk1995](https://discuss.elastic.co/u/mmk1995)\
**Post date:** [July 22, 2019, 3:31am UTC](https://discuss.elastic.co/t/can-i-config-logstash-to-read-config-other-than-the-path-etc-logstash-conf-d/191561/1 "2019-07-22T03:31:55Z")

</div>

I am trying to set the path for different config as below,  
pipeline.yml:  
- pipeline.id: main  
path.config: "/etc/logstash/conf.d/\*.conf"  
- pipeline.id: dhcp-test  
path.config: "/home/elk2/dhcp\_log.conf"  
- pipeline.id: portfolio-test  
path.config: "/home/elk/logstash.conf"  
but the log told me  
[2019-07-22T10:54:21,177][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"/home/elk2/dhcp\_log.conf"}  
[2019-07-22T10:54:21,182][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"/home/elk/logstash.conf"}

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [July 22, 2019, 12:13pm UTC](https://discuss.elastic.co/t/can-i-config-logstash-to-read-config-other-than-the-path-etc-logstash-conf-d/191561/2 "2019-07-22T12:13:48Z")

</div>

> [@mmk1995](#):
>
> No config files found in path {:path=\>"/home/elk/logstash.conf"}

Either that file does not exist or logstash does not have permission to read it.

---

<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:** [August 19, 2019, 12:28pm UTC](https://discuss.elastic.co/t/can-i-config-logstash-to-read-config-other-than-the-path-etc-logstash-conf-d/191561/3 "2019-08-19T12:28:34Z")

</div>

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