Hello,
I have created an ILM for my .monitoring-es-7-* indices
PUT _ilm/policy/Elasticsearch_monitoring_test_policy
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"set_priority": {
"priority": 100
}
}
},
"delete": {
"min_age": "3d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}
I have not enables Rollover on ILM bcoz no alias is used. Just the hot phase and delete phase.
Then I attached the ILM to system legacy template .monitoring-es template. So when a monitoring index is generated ILM is attached to it.
below sharing the screenshot of my monitoring index.
this index was created on 25-09-23 but after 3 days that is today this index should be deleted as per ILM. But it is not deleted.