Delete old index- curator is not an option

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

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.

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