# Externalize the elasticsearch.yml file when using the elasticsearch-transport-wares

**URL:** <https://discuss.elastic.co/t/externalize-the-elasticsearch-yml-file-when-using-the-elasticsearch-transport-wares/26136>\
**Category:** Elasticsearch\
**Created:** [July 23, 2015, 8:42am UTC](https://discuss.elastic.co/t/externalize-the-elasticsearch-yml-file-when-using-the-elasticsearch-transport-wares/26136 "2015-07-23T08:42:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thibaultclem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thibaultclem/32/3668_2.png) [@thibaultclem](https://discuss.elastic.co/u/thibaultclem)\
**Post date:** [July 23, 2015, 8:42am UTC](https://discuss.elastic.co/t/externalize-the-elasticsearch-yml-file-when-using-the-elasticsearch-transport-wares/26136/1 "2015-07-23T08:42:44Z")

</div>

Hello,  
I'm currently using the elasticsearch-transport-wares plugin to start an ES node.  
I check the NodeServlet class and it seems that it explicitly expecting the elasticsearch.yml file in the WEB-INF/lib folder.  
Does it exist a way to define this elasticsearch.yml file from outside the WEB-INF/lib my WAR ? Or a way to override it ?  
Thanks,  
Thib

---

<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 5, 2017, 11:59pm UTC](https://discuss.elastic.co/t/externalize-the-elasticsearch-yml-file-when-using-the-elasticsearch-transport-wares/26136/2 "2017-07-05T23:59:40Z")

</div>


