Hello All,
I have appled ILM policy to the Index and policy is defined to go from hot phase: 1day,1gb max (rollover) to delete phase after 1day from rollover,The issue I am facing is that the Index dont get deleted and shows complete satate.
(HOT->DELETE)
Any Suggestion?
PUT _ilm/policy/mis-metric-policy
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_age": "1d",
            "max_size": "1gb"
          },
          "set_priority": {
            "priority": null
          }
        }
      },
      "delete": {
        "min_age": "1d",
        "actions": {
          "delete": {
            "delete_searchable_snapshot": true
          }
        }
      }
    }
  }
}
For new Index created also these policy dont get applied even after updating the policy!!
How can these be tested or resolved?
{
  "indices" : {
    "mis-metric-2022.04.20-000059" : {
      "index" : "mis-metric-2022.04.20-000059",
      "managed" : true,
      "policy" : "mis-metric-policy",
      "lifecycle_date_millis" : 1650503149638,
      "age" : "1.52d",
      "phase" : "hot",
      "phase_time_millis" : 1650434750263,
      "action" : "complete",
      "action_time_millis" : 1650503150394,
      "step" : "complete",
      "step_time_millis" : 1650503150394,
      "phase_execution" : {
        "policy" : "mis-metric-policy",
        "phase_definition" : {
          "min_age" : "0ms",
          "actions" : {
            "rollover" : {
              "max_size" : "1gb",
              "max_age" : "1d"
            },
            "set_priority" : {
              "priority" : null
            }
          }
        },
        "version" : 8,
        "modified_date_in_millis" : 1650353898387
      }
    }
  }
}
"action" and "step" is complete and "phase" hot,will this now go to delete state?....In my case it dosent
Thanx,
