How to leave the indices in mode read write in phase warm after to pass shrink process

I need to have the indices with permissions of read and write in the phase warm because I still receive old indices that they can't write over indices in phase warm.

NOTE: in the phase warm the shrink process is selected.

How to can I change read only to read and write?

thank you.

Welcome to our community! :smiley:

What does your existing policy look like?

Hello warkolm,

Here you are my ilm policy:

    PUT _ilm/policy/customerlog-cef
    {
      "policy": {
        "phases": {
          "hot": {
            "min_age": "0ms",
            "actions": {
              "set_priority": {
                "priority": 100
              }
            }
          },
          "warm": {
            "min_age": "28h",
            "actions": {
              "allocate": {
                "number_of_replicas": 1,
                "include": {},
                "exclude": {},
                "require": {
                  "box_type": "warm"
                }
              },
              "set_priority": {
                "priority": 50
              },
              "shrink": {
                "number_of_shards": 1
              }
            }
          },
          "cold": {
            "min_age": "4d",
            "actions": {
              "allocate": {
                "number_of_replicas": 1,
                "include": {},
                "exclude": {},
                "require": {
                  "box_type": "cold"
                }
              },
              "set_priority": {
                "priority": 0
              }
            }
          }
        }
      }
    }

Thank you!

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