Index has no aliases

Hi, i have define the index rollup alias on one index config, but if i add index to policy always show this error on kibana

"Index has no aliases
Policy test is configured for rollover, but index index-test does not have an alias, which is required for rollover."

Using below command:

PUT _template/sase-ksql-alerts
{
"order": 3,
"index_patterns": [
"sase-ksql-alerts-*"
],
"settings": {
"index": {
"lifecycle": {
"name": "appquery_rollover",
"rollover_alias": "sase-ksql-alerts-write-target"
},
"mapping": {
"total_fields": {
"limit": "3000"
}
},
"codec": "best_compression",
"refresh_interval": "30s",
"number_of_shards": "1",
"number_of_replicas": "1"
}
},
"mappings": {
"dynamic": true
},
"aliases": {}
}
PUT /%3Csase-ksql-alerts-000001%3E
{
"aliases": {
"sase-ksql-alerts-write-target": {}
},
"settings": {
"number_of_shards": 1
}
}

PFA for Index management tab:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.