Yml config files in a different directory


#1

Hi,
I am trying to set the yml config files in my directory in Windows.

I tried
-Des.config="c:\mypath\config"
es.config is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed

I tried
--path.conf="C:\mypath\config"
Unrecognized option, Error Could not create the Java Virtual Machine

What is the proper syntax to do it please?


(David Pilato) #2

-Des.path.conf should work


#3

Thank you. It worked.
Is it the same for Kibana and Logstash?


(David Pilato) #4

I don't think so


(system) #5