elasticsearch.yml missing
According to Elasticsearch page setting section, elasticsearch.yml
file can be found on ES_HOME/config
folder.
elasticsearch configuration files can be found under
ES_HOME/config
folder. The folder comes with two files, theelasticsearch.yml
for configuring Elasticsearch different modules, andlogging.yml
for configuring the Elasticsearch logging.
If you have really look anywhere and come on the situation where elasticsearch.yml
file missing, then you'll probably interested on creating new one.
Luckily someone has posted content of elasticsearch.yml
on GitHub Gist, you may want to look at this elasticsearch.yml - GitHub
.
Related videos on Youtube
LizzAlice
Updated on September 18, 2022Comments
-
LizzAlice over 1 year
Apparently, Elasticsearch causes my server to crash sometimes.
So I wanted to follow the instructions provided by Binh_Ly here: https://discuss.elastic.co/t/garbage-collection-log-messages-monitor-jvm-duration-2-2m/15673
But he says to change the elasticsearch.yml, which should be in the /etc/elasticsearch folder according to the official elasticsearch website. But neither the file nor the folder do exist and can't even be found when I look for them with
find / -name elasticsearch -type d
, it only shows me the elasticsearch folder where the data lies, but no other elasticsearch folders.Would it make sense to just create a new folder? (I'm sorry, I don't have that much experience.)