Elasticsearch import configuration files

Hello,

Is there anyway to reconfigure elasticsearch without changing the main
/etc/elasticsearch/elasticsearch.yml file?

We want to setup an elasticsearch.yml file that is common for all our test
environments. Then we want an additional file that is specific to the
environment. That environment specific file might change the cluster name,
change the discovery mode, etc.

Is this possible with elasticsearch? Can we give it a list of locations
where it can find the elasticsearch.yml

For example this is supported:

path.data: ["/mnt/first", "/mnt/second"]

Is this supported?
path.conf: ["/etc/elasticsearch", "/etc/elasticsearch.d/*"]

or this?

path.conf: ["/etc/elasticsearch", "/etc/elasticsearch-local/"]

--
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/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You cannot use an array in path.conf.

On 9 March 2015 at 15:02, Michael Power michael.power.elotouch@gmail.com
wrote:

Hello,

Is there anyway to reconfigure elasticsearch without changing the main
/etc/elasticsearch/elasticsearch.yml file?

We want to setup an elasticsearch.yml file that is common for all our test
environments. Then we want an additional file that is specific to the
environment. That environment specific file might change the cluster name,
change the discovery mode, etc.

Is this possible with elasticsearch? Can we give it a list of locations
where it can find the elasticsearch.yml

For example this is supported:

path.data: ["/mnt/first", "/mnt/second"]

Is this supported?
path.conf: ["/etc/elasticsearch", "/etc/elasticsearch.d/*"]

or this?

path.conf: ["/etc/elasticsearch", "/etc/elasticsearch-local/"]

--
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/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEYi1X_q87MY%2B3xuqJxaOwxOWcUyOG9YVDJ-tggdsxom%3DxXHPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Is there any other way of modifying the elasticsearch configuration without
modifying the package manager installed elasticsearch.yml file?

On Monday, March 9, 2015 at 4:18:19 PM UTC-7, Mark Walkom wrote:

You cannot use an array in path.conf.

On 9 March 2015 at 15:02, Michael Power <michael.pow...@gmail.com
<javascript:>> wrote:

Hello,

Is there anyway to reconfigure elasticsearch without changing the main
/etc/elasticsearch/elasticsearch.yml file?

We want to setup an elasticsearch.yml file that is common for all our
test environments. Then we want an additional file that is specific to the
environment. That environment specific file might change the cluster name,
change the discovery mode, etc.

Is this possible with elasticsearch? Can we give it a list of locations
where it can find the elasticsearch.yml

For example this is supported:

path.data: ["/mnt/first", "/mnt/second"]

Is this supported?
path.conf: ["/etc/elasticsearch", "/etc/elasticsearch.d/*"]

or this?

path.conf: ["/etc/elasticsearch", "/etc/elasticsearch-local/"]

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/2f216a7f-9c3d-42d5-b376-75cdc05d2348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You can define your own path by calling the ES binary with
-Des.path.config=/path
On 10/03/2015 3:46 pm, "Michael Power" michael.power.elotouch@gmail.com
wrote:

Is there any other way of modifying the elasticsearch configuration
without modifying the package manager installed elasticsearch.yml file?

On Monday, March 9, 2015 at 4:18:19 PM UTC-7, Mark Walkom wrote:

You cannot use an array in path.conf.

On 9 March 2015 at 15:02, Michael Power michael.pow...@gmail.com wrote:

Hello,

Is there anyway to reconfigure elasticsearch without changing the main
/etc/elasticsearch/elasticsearch.yml file?

We want to setup an elasticsearch.yml file that is common for all our
test environments. Then we want an additional file that is specific to the
environment. That environment specific file might change the cluster name,
change the discovery mode, etc.

Is this possible with elasticsearch? Can we give it a list of locations
where it can find the elasticsearch.yml

For example this is supported:

path.data: ["/mnt/first", "/mnt/second"]

Is this supported?
path.conf: ["/etc/elasticsearch", "/etc/elasticsearch.d/*"]

or this?

path.conf: ["/etc/elasticsearch", "/etc/elasticsearch-local/"]

--
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 elasticsearc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/elasticsearch/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%
40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9c3b279b-e4d6-4923-90a2-60fedbc5ea80%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/2f216a7f-9c3d-42d5-b376-75cdc05d2348%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/2f216a7f-9c3d-42d5-b376-75cdc05d2348%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAEYi1X8xVZdGaF6W_LP62cnh5-U%3Dd0nfBy64XCQn%3Dp844xAh-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.