Setting custom path for elasticsearch.yml

(Junaid) #1


I am trying to upgrade our elastic stack to 6.4.3 version; for some historic reason we use custom path for elasticsearch.yml file. Till 5.6 version we were able to use -Edefault.path.conf=/path/to/conf/file in the start-up script to point elastic to the custom file.

But as of 6.4.3 i can't use this as i get "java.lang.IllegalArgumentException: unknown setting [default.path.conf] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"

i have tried various combinations but till no avail.

Can anyone suggest how to do that?