How force to move to Warm phase

Hi,
I have an index in a hot phase, which was completed
After n days from roll over the index will enter the warm phase and it will be relocated to the warm node.
Is it possible to force the index to move to the warm phase?
Thank you!
Regards
Ana

Here is my ILM policy

PUT _ilm/policy/fortilogs
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_size": "49gb",
            "max_age": "9d"
          },
          "set_priority": {
            "priority": 100
          }
        }
      },
      "warm": {
        "min_age": "15d",
        "actions": {
          "allocate": {
            "include": {},
            "exclude": {},
            "require": {
              "data": "warm"
            }
          },
          "readonly": {}
        }
      }
    }
  }
}

Hope this link can help

1 Like

Thank you!
I've read the article previous to post the topic but It was not working for me.
I've tried

POST _ilm/move/my_index
{
    "current_step": { 
    "phase": "hot",
    "action": "complete",
    "name": "complete"
  },
  "next_step": { 
    "phase": "warm",
    "action": "allocate",
    "name": "allocate"
  }
}

and It worked

Regards!
Ana

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