I currently have created an mapped a new ILM polciy for my indices right now. But there are some older indices which are mapped to the older ILM policy. This index size is very big and currently I need to move this index to cold phase as my hot node is filling fast. I have changed the index settings as
In addition to this issue, I have created the new ILM policy to move indices from hot to cold after 3 days. But when I check, the indices are like 7 days older but still in the hot phase. When I check whether it is transfered to cold it is still in hot.
Secondly, I can see in the first screenshot that the logs policy has the default value of "max_age" = 30days which means that it is meant to migrate your index from hot once it reaches 30 days old - is this the current policy you want to apply or the previous one?
To get some more context - which version of Elastic are you running on?
There is a troubleshooting section on our docs explaining that: The _tier_preference setting might conflict with other allocation settings. This conflict might prevent the shard from allocating. A conflict might occur when a cluster has not yet been completely migrated to data tiers.
This is due to a change applied since 7.10 as explained here:
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.