Custom path for elasticsearch.yml, kibana.yml and logstash.yml

Hello,

I have installed ELK stack on my test server using the default installation options and have been able to set up an end to end test system working.

However now, I have a new requirement to change the default installation path and all relevant ELK paths from /var, /etc etc. to custom data file systems as the / file system gets exchanged during OS upgrade and relevant files and directories will be erased.

Is there any options in order to change the yml files location from /etc/Elasticsearch/Elasticsearch.yml (/etc/logstash/logstash.yml or /etc/kibana/kibana.yml) to a custom directory say /elk/etc/Elasticsearch/Elasticsearch.yml ?

Thanks and regards,
Ashiq Aboo Backer

Each of these has the ability to use custom directories, yes.

1 Like