Hello,
I'm trying to set a ILM to an index, but it's not deleting old data.
This is my ILM:
PUT _ilm/policy/kong_lifecycle
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"set_priority": {
"priority": 100
}
}
},
"delete": {
"min_age": "1m",
"actions": {
"delete": {
}
}
}
}
}
}
This is the explain of my index kong
:
{
"indices": {
"kong": {
"index": "kong",
"managed": false
}
}
}
And this is my index template:
As you can see, I'm trying to delete data older than 1 minute, but this is not happening.
New data that comes to the index keep living in there and data from, for example, january still in there.
What am I missing?