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
data_warm,data_hotwhen it migrates to the
warmphase in ILM.
- Use the
allocateaction in the warm phase to change the
_tier_preferenceto 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.