Is it possible to set up ES Index Lifecycle Management to delete an index based on the name that has a date in it, i.e. my_index_yyyy_MM_dd
, instead of index age?
Asked
Active
Viewed 568 times
0

khachik
- 28,112
- 9
- 59
- 94
1 Answers
1
Unfortunately, no - ILM only supports age-based phase transitions, which is (to my knowledge) determined by the index creation_date
.
To support pattern matching deletes, I'd recommend using the delete_indices
action of Curator (https://www.elastic.co/guide/en/elasticsearch/client/curator/current/delete_indices.html) with the appropriate filters for your use-case.

James Pittiglio
- 551
- 3
- 7