# Curator config properties

**URL:** <https://discuss.elastic.co/t/curator-config-properties/59081>\
**Category:** Elasticsearch\
**Created:** [August 26, 2016, 9:52pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081 "2016-08-26T21:52:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhijat](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@abhijat](https://discuss.elastic.co/u/abhijat)\
**Post date:** [August 26, 2016, 9:52pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/1 "2016-08-26T21:52:45Z")

</div>

Is there a way to specify curator properties on command line instead of in the yaml? For example curator --host \<some\_ip\>... etc..

Also, what is does the hosts property signify? To provide more context... In my case, we have 3 client, 3 master eligible and multiple data nodes. Where should I be running curator from? If it is on master nodes and i have set master\_only=true then for each of the master nodes, the hosts property needs to be different. Besides dynamically generating the curator config yaml, can I somehow pass in the hosts property to curator via command line?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [August 26, 2016, 10:05pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/2 "2016-08-26T22:05:57Z")

</div>

This is a requested feature. I'm trying to get it into 4.1.

> <https://github.com/elastic/curator/issues/697>

---

<div class="post-metadata">

**Author:** ![abhijat](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@abhijat](https://discuss.elastic.co/u/abhijat)\
**Post date:** [August 26, 2016, 10:31pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/3 "2016-08-26T22:31:51Z")

</div>

Thank you. So, for now, I guess, I will need to dynamically inject the hosts property in the yaml.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [September 7, 2016, 6:15pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/4 "2016-09-07T18:15:52Z")

</div>

Curator 4.1 is now released, and supports [environment variables](https://www.elastic.co/guide/en/elasticsearch/client/curator/4.1/envvars.html).

---

<div class="post-metadata">

**Author:** ![abhijat](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@abhijat](https://discuss.elastic.co/u/abhijat)\
**Post date:** [September 7, 2016, 6:35pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/5 "2016-09-07T18:35:28Z")

</div>

Thank you.

---

<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, 10:21pm UTC](https://discuss.elastic.co/t/curator-config-properties/59081/6 "2017-07-05T22:21:59Z")

</div>


