If I want to store /etc/elasticsearch/elasticsearch.yml file somewhere else how can I specify it to Elasticsearch service?
Why do you want to store it somewhere else?
Elasticsearch requires that all of its configuration files are in the same directory. There are ways to change where that directory is, but it's not really recommended - what are you looking to achieve?
1 Like
Maybe it could help: Configuring Elasticsearch | Elasticsearch Guide [8.14] | Elastic
1 Like