Hi All
Below is my ILM policy
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_size": "200gb",
"max_age": "7d"
},
"set_priority": {
"priority": 100
}
}
},
"warm": {
"min_age": "7d",
"actions": {
"allocate": {
"require": {
"data": "warm"
}
},
"readonly": {},
"set_priority": {
"priority": 50
}
}
},
"delete": {
"min_age": "23d",
"actions": {
"delete": {}
}
}
}
}
}
This policy rolls over index after 7 days but it is not moving index to warm nodes as rollover reset age of index to 0.
We are expecting to keep 7day old data on hot nodes irrespective size of the index after 7 days data needs to be moved to warm nodes and then ILM should delete the data after 30 days, but right now on hot node data is getting rolled out after 7 days and index age is getting reset to 0 and we have to wait 7 more days to move this data to warm.
Is there any work around for this ? we can keep rolled over indices on hot nodes for 7 days and then we can move them to warm nodes.