# Elasticsearch.yml after startup is not showing in RHEL 8

**URL:** <https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [March 2, 2022, 10:37pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680 "2022-03-02T22:37:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoreyCBurton](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CoreyCBurton](https://discuss.elastic.co/u/CoreyCBurton)\
**Post date:** [March 2, 2022, 10:37pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/1 "2022-03-02T22:37:03Z")

</div>

I have installed Elasticsearch on RHEL 8. I followed this guide below.

> **[Install Elasticsearch with RPM | Elasticsearch Guide \[8.0\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html)**

Everything went smoothly and I started the service.

I am trying to edit the Elasticsearch.yml and I can't seem to find it. I am also trying to turn off the security function.

Am I just overlooking this issue? Thank you in advance for the help.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 2, 2022, 10:46pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/2 "2022-03-02T22:46:14Z")

</div>

Welcome to our community! 😃

Did you see [Install Elasticsearch with RPM | Elasticsearch Guide [8.0] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#rpm-configuring)?

---

<div class="post-metadata">

**Author:** ![CoreyCBurton](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CoreyCBurton](https://discuss.elastic.co/u/CoreyCBurton)\
**Post date:** [March 2, 2022, 10:49pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/3 "2022-03-02T22:49:17Z")

</div>

Thank you! Yes I have read that documentation.

It shows that the conf file should be stored in /etc/Elasticsearch. Using the command ls -la, it is not there.

![image](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cb1498020efce33c372136aeb9901cf7c74670d1.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 2, 2022, 10:51pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/4 "2022-03-02T22:51:09Z")

</div>

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

That's pretty weird. Did you use the RPM file, or the repos to install?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 2, 2022, 11:00pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/5 "2022-03-02T23:00:30Z")

</div>

The screenshot you shared shows an `ls -la` inside the path `/usr/share/elasticsearch`, not `/etc/elasticsearch`.

What do you have inside `/etc/elasticsearch` ?

---

<div class="post-metadata">

**Author:** ![CoreyCBurton](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@CoreyCBurton](https://discuss.elastic.co/u/CoreyCBurton)\
**Post date:** [March 2, 2022, 11:02pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/6 "2022-03-02T23:02:39Z")

</div>

Thank you Leandrojmp.

It was a simple mistake, I was looking in the wrong directory!

---

<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:** [March 30, 2022, 11:02pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-after-startup-is-not-showing-in-rhel-8/298680/7 "2022-03-30T23:02:42Z")

</div>

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