Hi. I have a problem with index lifecycle management - rollout
that is my ILM policy
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {}
},
"delete": {
"min_age": "30d",
"actions": {
"delete": {
"delete_searchable_snapshot": true
},
"wait_for_snapshot": {
"policy": "Snapto"
}
}
}
}
}
}
My all indexes stuck on rollover storage. I was tried all possible known alternatives but can't works.
Error explain is :
{
"indices": {
"loginsight-2024.09.20": {
"index": "loginsight-2024.09.20",
"managed": true,
"policy": "loginsight-30days-policy",
"index_creation_date_millis": 1726790396559,
"time_since_index_creation": "26.79d",
"lifecycle_date_millis": 1726790396559,
"age": "26.79d",
"phase": "hot",
"phase_time_millis": 1729104988302,
"action": "rollover",
"action_time_millis": 1729081028546,
"step": "ERROR",
"step_time_millis": 1729105588232,
"failed_step": "check-rollover-ready",
"is_auto_retryable_error": true,
"failed_step_retry_count": 20,
"step_info": {
"type": "illegal_argument_exception",
"reason": "setting [index.lifecycle.rollover_alias] for index [loginsight-2024.09.20] is empty or not defined"
},
"phase_execution": {
"policy": "loginsight-30days-policy",
"phase_definition": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_age": "30d",
"min_docs": 1,
"max_primary_shard_docs": 200000000,
"max_primary_shard_size": "50gb"
}
}
},
"version": 8,
"modified_date_in_millis": 1729103464068
}
},
Can someone help me fix that problem ?