Little bit confused on min_age parameter in ilm

Greetings...!
Im currently using below ilm policy for my project. I just want to know the life span of an index. PUT _ilm/policy/hot_warm_delete
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_size": "50gb",
"max_age": "7d"
},
"set_priority": {
"priority": 50
}
}
},
"warm": {
"min_age": "7d",
"actions": {
"set_priority": {
"priority": 25
}
}
},
"delete": {
"min_age": "7d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}

From my ILM policy, will my index get deleted after 7 days(as mentioned in delete phase) or 21 days(7 days in hot& 7 days in warm & 7 days in Delete).
Kindly help me here.
Thanks in advance.

min_ Age usually refers to the time since the index was created,
so your index will be deleted after 7 days

Thanks a ton casterQ. That clarifies my doubt.

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