Delete old rollover index

Dear all
I implemented a ILM policy

{
  "metricbeat-7.10.2" : {
    "version" : 1,
    "modified_date" : "2021-02-04T15:52:42.289Z",
    "policy" : {
      "phases" : {
        "hot" : {
          "min_age" : "0ms",
          "actions" : {
            "rollover" : {
              "max_size" : "5mb",
              "max_age" : "10m"
            },
            "set_priority" : {
              "priority" : 100
            }
          }
        },
        "delete" : {
          "min_age" : "1m",
          "actions" : { }
        }
      }
    }
  }
}

The system works fine but it does not delete the old rollover index.
I have

**Current phase** : delete
**Current action**: complete

but I continue to have all index es. myindex-000032, myindex-000033 ...
Has someone the same problem?

thanks

It is possible to solve it using dev-tools and adding

delete_searchable_snapshot: true

"delete": {
        "min_age": "1m",
        "actions": {
          "delete": {
            **"delete_searchable_snapshot": true**
          }
        }
      }

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