# Delete Index from all nodes

**URL:** <https://discuss.elastic.co/t/delete-index-from-all-nodes/68349>\
**Category:** Elasticsearch\
**Created:** [December 7, 2016, 7:12pm UTC](https://discuss.elastic.co/t/delete-index-from-all-nodes/68349 "2016-12-07T19:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [December 7, 2016, 7:12pm UTC](https://discuss.elastic.co/t/delete-index-from-all-nodes/68349/1 "2016-12-07T19:12:13Z")

</div>

Hi Team,  
I have 22 nodes in my cluster and i have written a batch program to take snapshot and delete 30 days older indexes. The batch program is preparing "curl -XDELETE" and executing it from Master node.

I can see index directories got delete from master node ($ESHOME/node/0/indices/topbeat-2016.09.01) but these index directories are present in other nodes. I was expecting it should delete and free disk space from all nodes.

Am i missing any configuration here?

Thanks & Regards,

---

<div class="post-metadata">

**Author:** ![piyush](https://avatars.discourse-cdn.com/v4/letter/p/ecb155/32.png) [@piyush](https://discuss.elastic.co/u/piyush)\
**Post date:** [December 7, 2016, 9:20pm UTC](https://discuss.elastic.co/t/delete-index-from-all-nodes/68349/2 "2016-12-07T21:20:11Z")

</div>

Please ignore.

It is delete directories from other nodes. I checked on client node and assumed that.

---

<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 7, 2016, 10:33pm UTC](https://discuss.elastic.co/t/delete-index-from-all-nodes/68349/3 "2016-12-07T22:33:57Z")

</div>

Why not use [Elasticsearch Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html)?

---

<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:** [January 4, 2017, 10:34pm UTC](https://discuss.elastic.co/t/delete-index-from-all-nodes/68349/4 "2017-01-04T22:34:20Z")

</div>

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