Hi, I have created one ILM policy in which the use case is to delete the index having an age of 2 days, so I am not able to understand why my index is not deleted when I navigate to manage indices page I found below screen
Below is my lifecycle policy
{
“policy_id”: “DELETE”,
“description”: “A simple default policy that changes the replica count between hot and delete states.”,
“last_updated_time”: 1615874912379,
“schema_version”: 1,
“error_notification”: null,
“default_state”: “hot”,
“states”: [
{
“name”: “hot”,
“actions”: ,
“transitions”: [
{
“state_name”: “delete”,
“conditions”: {
“min_index_age”: “2d”
}
}
]
},
{
“name”: “delete”,
“actions”: [
{
“delete”: {}
}
],
“transitions”:
}
]
}
I have attached the ILM policy with my indices but the ILM policy is not working fine.
Can anyone please help me to rectify the base issue.