# WARNING: Could not find logstash.yml which is typically located in $LS\_HOME/config or /etc/logstash. Problem

**URL:** <https://discuss.elastic.co/t/warning-could-not-find-logstash-yml-which-is-typically-located-in-ls-home-config-or-etc-logstash-problem/155053>\
**Category:** Logstash\
**Created:** [November 1, 2018, 5:13pm UTC](https://discuss.elastic.co/t/warning-could-not-find-logstash-yml-which-is-typically-located-in-ls-home-config-or-etc-logstash-problem/155053 "2018-11-01T17:13:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnallamothu](https://avatars.discourse-cdn.com/v4/letter/v/35a633/32.png) [@vnallamothu](https://discuss.elastic.co/u/vnallamothu)\
**Post date:** [November 1, 2018, 5:13pm UTC](https://discuss.elastic.co/t/warning-could-not-find-logstash-yml-which-is-typically-located-in-ls-home-config-or-etc-logstash-problem/155053/1 "2018-11-01T17:13:49Z")

</div>

I've installed Logstash on Amazon Linux 64 bit server. I've installed java version "1.8.0\_191" on the same server and followed following steps:

> Download and install the public signing key:
> 
> rpm --import [https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch)
> 
> Add the following in your `/etc/yum.repos.d/` directory in a file with a `.repo` suffix, for example `logstash.repo`
> 
> [logstash-6.x] name=Elastic repository for 6.x packages baseurl=[https://artifacts.elastic.co/packages/6.x/yum](https://artifacts.elastic.co/packages/6.x/yum) gpgcheck=1 gpgkey=[https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch) enabled=1 autorefresh=1 type=rpm-md
> 
> And your repository is ready for use. You can install it with:
> 
> sudo yum install logstash

But after that when ever I tried to start logstash or see what commands available using --help option, Im getting following error until I specify path.settings parameter:

> 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

Can anyone help me with the installation steps such that I don't need to specify path.settings parameter always? Also, I'm trying to install logstash 6.2 on a different server than Elasticsearch 6.2. But It is always installing 6.4 instead of 6.2.

---

<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:** [November 29, 2018, 5:13pm UTC](https://discuss.elastic.co/t/warning-could-not-find-logstash-yml-which-is-typically-located-in-ls-home-config-or-etc-logstash-problem/155053/2 "2018-11-29T17:13:55Z")

</div>

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