Metadata _tier value after rollover

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:

  1. Let ILM automatically change the _tier_preference to data_warm,data_hot when it migrates to the warm phase in ILM.
  2. 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.