ILM helm, indexes are bigger the 50g

I thought I set the ILM correctly but indexs keep getting bigger then 50g

this is the policy I have,
what am I doing wrong ?

PUT _ilm/policy/30-days-default_alonzon
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_age": "30d",
            "max_primary_shard_size": "50gb"
          }
        }
      },
      "warm": {
        "min_age": "6d",
        "actions": {
          "shrink": {
            "number_of_shards": 1
          },
          "forcemerge": {
            "max_num_segments": 1
          }
        }
      },
      "cold": {
        "min_age": "40d",
        "actions": {
          "set_priority": {
            "priority": 0
          }
        }
      },
      "delete": {
        "min_age": "40d",
        "actions": {
          "delete": {
            "delete_searchable_snapshot": true
          }
        }
      }
    },
    "_meta": {
      "managed": true,
      "description": "built-in ILM policy using the hot and warm phases with a retention of 30 days"
    }
  }
}

Please show index stats, e.g. using the cat indices API. It may also help if you show the index settings and version of Elasticsearch you are on.

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