Index lifecycle error - index.lifecycle.rollover_alias syntax

Hey All,
Can someone help me with the syntax required?
Or maybe I am missing something else?
I got this error on the indices.

This is my ILM policy below. How should I add the alias part?

PUT _ilm/policy/ilm-36-hours-deletion-my-index
{
  "policy": {
    "phases": {
      "hot": {
        "min_age": "0ms",
        "actions": {
          "rollover": {
            "max_size": "40gb"
          },
          "set_priority": {
            "priority": null
          }
        }
      },
      "delete": {
        "min_age": "36h",
        "actions": {
          "delete": {
            "delete_searchable_snapshot": true
          }
        }
      }
    }
  }
}

Thanks!

index template

{
  "index": {
    "lifecycle": {
      "name": "ilm-36-hours-deletion-my-index",
      "rollover_alias": "monitoring--my-index-alias"
    },
    "number_of_shards": "1",
    "number_of_replicas": "1"
  }
}

From Kibana UI

Looks like rollover_alias is defined?!

It goes in the template you have it. But is it attached to the existing indices?

The first error attached is from the index management module.
So the template is attached to a few indices, but throwing an error.
Thanks!

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