Elasticsearch name of log file

Hi Elasticians,
is it possible to force name of log file of elasticsearch instance in elasticsearch.yml file?

In elasticsearch.yml I have:

cluster.name: name-of-cluster
path.logs: /var/log/elasticsearch

Resulted name of log file is: name-of-cluster.log
Full path of log file: /var/log/elasticsearch/name-of-cluster.log

I would like to force to this regardless of node.name:


Wondering if you can do that by changing the log4j configuration file...

1 Like

yes. Thank you. It works fine!

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