Configuring YML files Location


(karthik426) #1

Hi,

I am trying to setup the configuration of ES (elasticsearch.yml and
logging.yml) outside of the elasticsearch package. I have put the two files
in a separate location and pointed the CONF_DIR to that location. I launch
the ES server by specifying the cluster name and node name.

The problem I am seeing is that this configuration is not getting
picked-up. I verified this by checking the logs files. The log files get
updated when I have the yml config files in the ES directory. But when I
move them out, the logs don't get updated.

Any pointers on how to get configure the yml files location outside of the
ES package ?

Thanks,
Karthik Jayanthi

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAD7PaHz1PD26CMf1sN2AsudPoVDjNBTzbU7HwmtvJ39FuTWjdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Brian Yoder) #2

For example, I keep my Elasticsearch configurations for use with the ELK
stack within this directory:

/opt/config/elk/current

So my start-up script calls the elasticsearch command as follows:

$ES_HOME/elasticsearch -d ... -Des.path.conf=/opt/config/elk/current ...

Hope this helps!

Brian

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bc66b0cc-7505-4d43-87c8-d6ce1d87851b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3