# Multiple config files?

**URL:** <https://discuss.elastic.co/t/multiple-config-files/21200>\
**Category:** Elasticsearch\
**Created:** [December 10, 2014, 8:38pm UTC](https://discuss.elastic.co/t/multiple-config-files/21200 "2014-12-10T20:38:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)\
**Post date:** [December 10, 2014, 8:38pm UTC](https://discuss.elastic.co/t/multiple-config-files/21200/1 "2014-12-10T20:38:35Z")

</div>

Is there a mechanism inside ES to specify multiple config files? I'd like  
to have something like:

defaults.yml  
overrides.yml

That way, it's much easier for me to see exactly what's different about one  
box vs another.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 11, 2014, 6:45am UTC](https://discuss.elastic.co/t/multiple-config-files/21200/2 "2014-12-11T06:45:06Z")

</div>

No there isn't.

On 10 December 2014 at 21:38, Matt Hughes [hughes.matt@gmail.com](mailto:hughes.matt@gmail.com) wrote:

> Is there a mechanism inside ES to specify multiple config files? I'd like  
> to have something like:
> 
> defaults.yml  
> overrides.yml
> 
> That way, it's much easier for me to see exactly what's different about  
> one box vs another.
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X99MnSuCqyhxhFdeGaAeqttYS1ZPjsCmE%3D8zsqotAcTTg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X99MnSuCqyhxhFdeGaAeqttYS1ZPjsCmE%3D8zsqotAcTTg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![mhughes](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mhughes](https://discuss.elastic.co/u/mhughes)\
**Post date:** [December 11, 2014, 2:47pm UTC](https://discuss.elastic.co/t/multiple-config-files/21200/3 "2014-12-11T14:47:07Z")

</div>

Thanks.

Since the config format is flat, it should be trivial to just concat N files together.

cat defaults.yml overrides.yml \> /etc/elasticsearch.yml

This way, I’d never write elasticsearch.yml myself.

On December 11, 2014 at 1:45:36 AM, Mark Walkom ([markwalkom@gmail.com](mailto:markwalkom@gmail.com)) wrote:

No there isn't.

On 10 December 2014 at 21:38, Matt Hughes [hughes.matt@gmail.com](mailto:hughes.matt@gmail.com) wrote:  
Is there a mechanism inside ES to specify multiple config files? I'd like to have something like:

defaults.yml  
overrides.yml

## That way, it's much easier for me to see exactly what's different about one box vs another.

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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/72ec155e-5fe5-4bf1-a76a-573167822475%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/4pWdv7sj6t8/unsubscribe](https://groups.google.com/d/topic/elasticsearch/4pWdv7sj6t8/unsubscribe).  
To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEYi1X99MnSuCqyhxhFdeGaAeqttYS1ZPjsCmE%3D8zsqotAcTTg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X99MnSuCqyhxhFdeGaAeqttYS1ZPjsCmE%3D8zsqotAcTTg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.5489ae6b.12200854.8e8a%40Matthews-MacBook-Pro.local](https://groups.google.com/d/msgid/elasticsearch/etPan.5489ae6b.12200854.8e8a%40Matthews-MacBook-Pro.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:44am UTC](https://discuss.elastic.co/t/multiple-config-files/21200/4 "2017-07-06T00:44:10Z")

</div>


