# Info message "No config files found in path" - doesn't make any sense

**URL:** <https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827>\
**Category:** Logstash\
**Created:** [January 2, 2018, 7:30pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827 "2018-01-02T19:30:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [January 2, 2018, 7:30pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/1 "2018-01-02T19:30:35Z")

</div>

Hi,  
I have been using 2 files for a long time  
/path/to/logstash1.conf  
/path/to/logstash2.conf

When switching to pipelines.yml I get an error that tells me no config files found in path (all correct path and file names)  
[2018-01-02T14:20:19,349][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"/path/to/logstash1.conf"}  
[2018-01-02T14:20:19,351][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=\>"/path/to/logstash2.conf"}

This is wrong because:

1. The files and path to the files are accessible and readable to logstash, to everyone
2. The files are correct. They work when I use manual logstash (logstash -f /path/to/logstash1.conf ...)

This doesn't make any sense.  
Any advice is much appreciated.  
Using recent version 6.x

Thanks in advance !  
JD

---

<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:** [January 3, 2018, 2:54pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/2 "2018-01-03T14:54:06Z")

</div>

Do you have `path.config` set in `logstash.yml` AND pipelines defined in `pipelines.yml`?

---

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [January 3, 2018, 3:21pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/3 "2018-01-03T15:21:21Z")

</div>

No path.config in logstash.yml since it contradicts using a service. If I do that, my pipelines.yml will be ignored

As for pipelines.yml - yes it's well defined

---

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [January 26, 2018, 4:48am UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/4 "2018-01-26T04:48:27Z")

</div>

Just gave it another try.  
When path.config is defined in /etc/logstash.yml --\> the logs says it ignores pipelines.yml  
When path.config is not defined in /etc/logstash.yml --\> pipelines.yml is being read BUT I get the "no config files found in path" when this does not make any sense.

The config files in path are the 2 conf files I have been using all the time. They work, they are valid, they are readable.

This mechanism never worked, I am not doing anything complex here, just trying to run a logstash conf file via pipelines.yml

---

<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:** [January 26, 2018, 11:34am UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/5 "2018-01-26T11:34:54Z")

</div>

Please post your `pipelines.yml` file contents. Use Markdown triple backticks above and below what you paste.

---

<div class="post-metadata">

**Author:** ![dorj1234](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dorj1234/32/21339_2.png) [@dorj1234](https://discuss.elastic.co/u/dorj1234)\
**Post date:** [January 26, 2018, 1:03pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/6 "2018-01-26T13:03:41Z")

</div>

Sure here it is:  
Those were .conf files originally, I thought maybe it's really looking for file extension (.config or .cfg)

```auto
- pipeline.id: testunified
  path.config: "/home/elastic/unified/test/conf/v2_unified.conf"
- pipeline.id: test2
  path.config: "/home/elastic/testfiles/test2/test2_vpc/conf/v4_logstash.conf

```

Everything works when I call them individually with (for example)  
`logstash -f /path_to.../v2_unified.conf --path.settings /etc/logstash`

My /etc/logstash/logstash.yml is mostly commented out. The only lines in there are:

```auto
node.name: elk1
path.data: /var/lib/logstash
log.level: warn
path.logs: /var/log/logstash

```

Note that if I un-comment `path.config: /etc/logstash/conf.d` then logstash ignores pipelines.yml in my case. My guess is it's reverting to logstash.yml because it can't handle the pipelines.yml setting.

Thank you!  
JD

---

<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:** [January 29, 2018, 2:37pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/7 "2018-01-29T14:37:19Z")

</div>

You are correct, that does not make sense.

Have you tried moving those two conf files into, say, `/etc/logstash/testing/`?

---

<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:** [February 26, 2018, 2:37pm UTC](https://discuss.elastic.co/t/info-message-no-config-files-found-in-path-doesnt-make-any-sense/113827/8 "2018-02-26T14:37:34Z")

</div>

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