Delete old index- curator is not an option


(Parvatayya Malimath) #1

Hi,

I want to delete old index in elastic search on regular basis, and curator is not an option cause. we dont have root permissions on our VMs. no internet connection from the VMs. so is there a quick way, i can create a cron job to delete the indices (logstash-2018.xx.xx).

regards
Parvat


(David Pilato) #2

You can call curl manually every day for example.

Like:

curl -XDELETE http://yourserver:9200/logstash-2018.xx.xx

Of course you have to compute that manually yourself.

More and more features will be coming in Index management but this one is not available yet I believe.