# Could not find logstsh.yml

**URL:** <https://discuss.elastic.co/t/could-not-find-logstsh-yml/131843>\
**Category:** Logstash\
**Created:** [May 15, 2018, 4:59am UTC](https://discuss.elastic.co/t/could-not-find-logstsh-yml/131843 "2018-05-15T04:59:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungtae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seungtae/32/71413_2.png) [@seungtae](https://discuss.elastic.co/u/seungtae)\
**Post date:** [May 15, 2018, 4:59am UTC](https://discuss.elastic.co/t/could-not-find-logstsh-yml/131843/1 "2018-05-15T04:59:36Z")

</div>

Hello.

> WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults /log4j2.properties. Using default config which logs errors to the console

My logstash.yml, log4j2.properties ... files are in both /etc/logstash and /usr/share/logstash/config . But why is there a WARNING??

I execute logstash by ubuntu service control. Like this :

`initctl start logstash.`

Any help thx.

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [May 16, 2018, 5:02pm UTC](https://discuss.elastic.co/t/could-not-find-logstsh-yml/131843/2 "2018-05-16T17:02:58Z")

</div>

Hi @seungtae what version of logstash is this?  
I imagine this is not causing the service to not run but you are interesting in knowing why you see this WARN logging?

---

<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:** [June 13, 2018, 5:03pm UTC](https://discuss.elastic.co/t/could-not-find-logstsh-yml/131843/3 "2018-06-13T17:03:00Z")

</div>

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