# Deleting index by curator on cluster

**URL:** <https://discuss.elastic.co/t/deleting-index-by-curator-on-cluster/197428>\
**Category:** Elasticsearch\
**Created:** [August 30, 2019, 1:14am UTC](https://discuss.elastic.co/t/deleting-index-by-curator-on-cluster/197428 "2019-08-30T01:14:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnM](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnm/32/49468_2.png) [@JohnM](https://discuss.elastic.co/u/JohnM)\
**Post date:** [August 30, 2019, 1:14am UTC](https://discuss.elastic.co/t/deleting-index-by-curator-on-cluster/197428/1 "2019-08-30T01:14:45Z")

</div>

Sorry this could be a very basic. I am running ES 7 cluster with 3 servers. All 3 servers have data and one of them is acting as a master.  
192.168.200.101 data master  
192.168.200.102 data  
192.168.200.103 data

I need to delete indices older than 30 days with curator.

Here is my question.  
Do I need to delete all 3 servers' or just a master's?  
If it is only a master is there any es query to find who the master is?  
Or if I need to delete all 3 servers' indices the master won't try to sync data what other 2 servers don't have depending on timing?

Thank you for your help in advance.

---

<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 30, 2019, 1:41am UTC](https://discuss.elastic.co/t/deleting-index-by-curator-on-cluster/197428/2 "2019-08-30T01:41:10Z")

</div>

You don’t have to run Curator on more than one host, or even necessarily the master node. An API call to delete an index made to any node in the cluster will delete it entirely from the cluster. Curator is just an index selection wrapper around the various API calls used for index and snapshot management.

---

<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:** [September 27, 2019, 1:41am UTC](https://discuss.elastic.co/t/deleting-index-by-curator-on-cluster/197428/3 "2019-09-27T01:41:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
