I'm using ILM to create daily auto rollover indices with dates in the index names. If bootstrap the initial index with following then it works. The next index auto created will be "test-2022.06.17-000002", then "test-2022.06.18-000003", etc.
// <test-{now/d}-000001>
PUT /%3Ctest-%7Bnow%2Fd%7D-000001%3E
{
"aliases": {
"test": {
"is_write_index": true
}
}
}
But if I leave out the "-000001" in the initial index, like just "test-{now/d}", then ILM fails to auto create the next index, and I got error
index name [<test-{now/d}>] does not match pattern '^.*-\\d+$'
Is there any way to have daily auto index rollover with just dates in them, like "test-2022.06.16", "test-2022.06.17", "test-2022.06.18", etc?