{index} syntax no supported by rollover_alias in 8.11.1 #102744
Labels
>bug
:Data Management/ILM+SLM
Index and Snapshot lifecycle management
Team:Data Management
Meta label for data/management team
Elasticsearch Version
8.11.1
Installed Plugins
No response
Java Version
bundled
OS Version
Linux fr-btc-01 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Problem Description
I'm trying to upgrade from 7.11.1, without migrating or anything.
So I'm recreating my ILM (using kibana) from scratch.
My index name are:
filebeat-8.11.1-%{+YYYY.MM.dd}
My ILM has no problem whatsoever, but when I edit my index template so it uses this ILM with those settings:
But my index's ILM execution keeps failing:
illegal_argument_exception: index.lifecycle.rollover_alias [{index}-000001] does not point to index [filebeat-8.11.0-2023.11.29]
Those settings worked in 7.11.1 but I have the impression that the rollover_alias setting is not interpreting the
{index}
anymore in 8.11.1.Steps to Reproduce
Create an ILM, and use it in an index template, and use this settings on the index template:
{
...
"template": {
"settings": {
...
"index.lifecycle.rollover_alias": "{index}-000001"
}
}
...
"aliases": {
"{index}-000001": {
"is_write_index": true
}
}
...
}
Logs (if relevant)
illegal_argument_exception: index.lifecycle.rollover_alias [{index}-000001] does not point to index [filebeat-8.11.0-2023.11.29]`
The text was updated successfully, but these errors were encountered: