Bulk delete index via expression?

I create index every day,such as indexname-yyyy-MM-dd.Now i want to delete the indexs which created before the appointed day.

For example.I have 4 indexs(name-2016-07-13,name-2016-07-14,name-2016-07-15,name-2016-07-16),I want to delete the indexs which created before 2016-07-15(name-2016-07-13,name-2016-07-14).

I'd use curator tool for that.

See https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html

1 Like