Hey there,
Is there a way to change the Metadata _tier value after that an ILM is executed?
If an index starts with _tier set to data_hot and then it is moved to a warm node, can I change the Metadata automatically?
In this way I could query only data_hot indices
You can indeed change the _tier when it is moved to the warm node. You have a couple of options:
- Let ILM automatically change the
_tier_preference
todata_warm,data_hot
when it migrates to thewarm
phase in ILM. - Use the
allocate
action in the warm phase to change the_tier_preference
to your desired tier when it migrates to the warm phase in ILM.
Hope that helps!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.