oldest index ".ds-traces-apm-default-2022.10.19-000167" created on 10/19/2022 (today is the 27th) was not deleted? In the policy, it was defined to exclude indices aged 6 days and this is not being respected.
Just curious, is this how ILM works when you use rollover? Because for normal index without rollover ILM does not work this way, each phase is based in the creation date of the index, so a delete phase after 6 days will delete the index 6 days after it was created.
There is anything in the documentation about this difference?
In my case I use Logstash to create daily indices, the ILM is used to move indices from hot nodes to warm nodes and delete after a couple of time, and in this case it uses the creation time.
I would like to have an index rotation based on the age of 1 day maximum for each index, and after 5 days after each rollover made on top of each index, there would be a deletion of the oldest index.
Could you guide me how to do this? I couldn't quite understand how ILM works.
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.