Hi all,
I have created below Policy.
{
“id”: “test_delete_after_1day”,
“seqNo”: 22895,
“primaryTerm”: 1,
“policy”: {
“policy_id”: “test_delete_after_1day”,
“description”: “test_policy”,
“last_updated_time”: 1650029343294,
“schema_version”: 12,
“error_notification”: null,
“default_state”: “hot”,
“states”: [
{
“name”: “hot”,
“actions”: ,
“transitions”: [
{
“state_name”: “delete”,
“conditions”: {
“min_index_age”: “1d”
}
}
]
},
{
“name”: “delete”,
“actions”: [
{
“delete”: {}
}
],
“transitions”:
}
],
“ism_template”:
}
}
I have applied this policy to required indexes but it does not delete old indexes.
when i execute below -
POST _opendistro/_ism/retry/slab-firewall-2022.03*
{
“state”: “delete”
}
Below is the response.
{
“index_name” : “test-2022.03.14”,
“index_uuid” : “i1LCv2fURfWpABBKzdODnA”,
“reason” : “This index has no metadata information”
},
Please help me with this.
Thanks in advance