I am having daily indices. I want to delete past indices beyond the last seven days. I read about date maths in index names but I dont find a direct way of doing that in a single query.
My current strategy is as follows:
get all indices using _cat/indices API
figure out old indices
call DELETE iteratively on those indices
Please let me know if there is a better way to do it.
I also looked at Curator but it is no more supported. Are those functionalities incorporated in some other tool?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.