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.