Rollover to Frozen Tier

Hello,

As I understand it, it is necessary to have an alias defined before using ILM for migrating from the hot phase to the frozen phase. However, this is not all; the alias configuration also needs to specify which index is the current "write-index."

Now, the problem:
Our index naming convention is dynamic and adds the current date to the index names. For example: data-from-system-01.11.2024, and so forth. The PUT alias API does not support variables.

How should we deal with this? Should we run a script that modifies the alias configuration to the correct "write-index" every night?

If we do not, a call to the alias/_rollover API fails, and data is not moved to the frozen tier.

No, that is not the case. The alias you are referring to is required only if you are using rollover (which you do not seem to be). You can still use ILM to manage the state transitions of indices without rollover. If you are using rollover actions and transitions to phases are based on the rollover timestamp. If you are creating indices the way you are ILM will instead base phase transitions on the index creation date.

1 Like