Elasticsearch.yml after startup is not showing in RHEL 8

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

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.

Welcome to our community! :smiley:

Did you see Install Elasticsearch with RPM | Elasticsearch Guide [8.0] | Elastic?

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

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 :slight_smile:

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

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

What do you have inside /etc/elasticsearch ?

1 Like

Thank you Leandrojmp.

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

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