Delete old Index

Hi,
I would like to know is there anyway I could write cron job to delete the index that is older than 3 months.
my index on elasticsearch looks like this
abc-2015.10
abc-2015.11
abc-2015.12
abc-2016.01
abc-2016.02
abc.2016.03

my index created every monthly basis, i need to delete the index automatically older than 3 months.

currently i am doing manually deleting the index using

curl -XDELETE localhost:9200/abc-2015.10/

curl -XDELETE localhost:9200/abc-2015.11/

curl -XDELETE localhost:9200/abc-2015.12/

Any support will be appropriate.

Elasticsearch Curator will solve your problems.

Hi Mark,
Thanks for reply.
I am new to ELK
is it new plugin tool need to install ?

thanks

It's not a plugin, your best option is to take a look at the docs for it :slight_smile:

Thanks Mark.
I am going through it now.