Is it possible to force a rollover for my indices to the latest updated policy? So they would be in the correct phase?
GET _ilm/policy/netlogstash_policy
{
"netlogstash_policy": {
"version": 1,
"modified_date": "2024-02-15T21:10:11.004Z",
"policy": {
"phases": {
"warm": {
"min_age": "7d",
"actions": {
"set_priority": {
"priority": 50
}
}
},
"cold": {
"min_age": "14d",
"actions": {
"set_priority": {
"priority": 0
}
}
},
"hot": {
"min_age": "0ms",
"actions": {
"set_priority": {
"priority": 100
},
"rollover": {
"max_age": "30d",
"max_primary_shard_size": "50gb"
}
}
},
"delete": {
"min_age": "30d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
},
"in_use_by": {
"indices": [
"netlogstash-2024.01.29"
],
"data_streams": [],
"composable_templates": [
"netlogstash_template"
]
}
}
}
the indice
GET netlogstash-2024.01.29/_ilm/explain
{
"indices": {
"netlogstash-2024.01.29": {
"index": "netlogstash-2024.01.29",
"managed": true,
"policy": "netlogstash_policy",
"index_creation_date_millis": 1706536822224,
"time_since_index_creation": "17.31d",
"lifecycle_date_millis": 1708032747445,
"age": "6.94m",
"phase": "hot",
"phase_time_millis": 1708032371263,
"action": "complete",
"action_time_millis": 1708032747446,
"step": "complete",
"step_time_millis": 1708032747446,
"phase_execution": {
"policy": "netlogstash_policy",
"phase_definition": {
"min_age": "0ms",
"actions": {
"set_priority": {
"priority": 100
},
"rollover": {
"max_age": "30d",
"max_primary_shard_size": "50gb"
}
}
},
"version": 1,
"modified_date_in_millis": 1708031411004
}
}
}
}
im sorry, im new to elastic. Does doing a rollover to an index means to update it to the current phase per the configured ILM? In this example it should be at the "cold" phase.
Thank you!