Delete Index from all nodes


(piyush) #1

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,


(piyush) #2

Please ignore.

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


(Mark Walkom) #3

Why not use Elasticsearch Curator?


(system) #4

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