# Update documentation for path.settings?

**URL:** <https://discuss.elastic.co/t/update-documentation-for-path-settings/126815>\
**Category:** Logstash\
**Created:** [April 4, 2018, 8:09pm UTC](https://discuss.elastic.co/t/update-documentation-for-path-settings/126815 "2018-04-04T20:09:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticN00b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticn00b/32/29569_2.png) [@ElasticN00b](https://discuss.elastic.co/u/ElasticN00b)\
**Post date:** [April 4, 2018, 8:09pm UTC](https://discuss.elastic.co/t/update-documentation-for-path-settings/126815/1 "2018-04-04T20:09:25Z")

</div>

Greetings programs!

While I was trying to set up logstash I was running into a fun error:

```auto
[2018-04-04T14:19:05,689][INFO][logstash.config.source.local.configpathloader] No config files found in path {:path=>"/etc/logstash/conf.d/devland.conf"}
[2018-04-04T14:19:05,690][ERROR][logstash.config.sourceloader] No configuration found in the configured sources.

```

So I searched around the forums and finally found people talking about the `path.settings:` config option. So I figured I would look at the logstash settings doc to get a better idea of what is really going on : [https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html](https://www.elastic.co/guide/en/logstash/current/logstash-settings-file.html)

Which oddly enough doesn't mention that particular setting. I poked around for a little while longer and found that that config is listed in a page linked from the setting-file page: [https://www.elastic.co/guide/en/logstash/current/dir-layout.html#deb-layout](https://www.elastic.co/guide/en/logstash/current/dir-layout.html#deb-layout)

My question / suggestion is that is that setting purposefully omitted in the logstash-settings-file page or is it supposed to be there and just isn't?

Either way, thanks for your time!

---

<div class="post-metadata">

**Author:** ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)\
**Post date:** [April 4, 2018, 10:28pm UTC](https://discuss.elastic.co/t/update-documentation-for-path-settings/126815/2 "2018-04-04T22:28:00Z")

</div>

The `path.settings` option can be specified as a _command-line_ option, so that when Logstash starts up (and hasn't yet read a Settings File) it knows where to look for the Settings File so that it can read the rest of the settings.

In order for it to be a supported option in the Settings File we would first have to read it from the Settings File so that we could find the Settings File to read it from, which is circular logic without end 🙂

---

<div class="post-metadata">

**Author:** ![ElasticN00b](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticn00b/32/29569_2.png) [@ElasticN00b](https://discuss.elastic.co/u/ElasticN00b)\
**Post date:** [April 5, 2018, 12:37am UTC](https://discuss.elastic.co/t/update-documentation-for-path-settings/126815/3 "2018-04-05T00:37:32Z")

</div>

That does make sense, but the odd part is that when I didn't give it any command line options it tried to load what I set in pipelines.conf but was unable to find devland.conf (the error above). However, when I set `path.settings` in the logstash.yml not only did it _not_ give an error and start but it also seems to recognize that the file `/etc/logstash/conf.d/devland.conf`was there and load the config no problem.

1. What would be a good guess as to why it acts like that?
2. I'm running this on CentOS 7, what would be the best way to ensure that `path.settings` is set at runtime? (I'm using systemd to stop / start logstash) - this one may be a dumb question.

Thanks again!

---

<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 3, 2018, 12:37am UTC](https://discuss.elastic.co/t/update-documentation-for-path-settings/126815/4 "2018-05-03T00:37:57Z")

</div>

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