I know this question has been asked previously, but the answers provided earlier are outdated and do not apply to the current scenario.
We have recently moved to using the Rollover API to create new indices in order to get even shard size. However, this does not provide any mechanism to delete the older indices in an automated manner.
Earlier, we created daily indices with a timestamp (%Y.%m.%d) which would then be used by Curator to delete indices. But without a timestamp how do i tell curator to perform any action?
The age filter in Curator is not limited to using source: name. There is also source: creation_date and source: field_stats—which determines the oldest or youngest timestamp in the index, and can use either to determine whether an index is ready for further action.
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.