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.)