Issue with ILM

Hi

i am having an issue with iLM

there error is -

`> illegal_argument_exception: index.lifecycle.rollover_alias [filebeat] does not point to index [filebeat-test-2021.02.11-000001]`

Logstash settings -

 elasticsearch {
    hosts => [ "${ES_HOST}" ]
    user => "${ES_USER}"
    password => "${ES_PASSWORD}"
    ilm_enabled => "true"
    ilm_rollover_alias => "filebeat-test"
    ilm_policy => "filebeat"
    index => "filebeat-test-%{+yyyy.MM.dd}"
  }

For some reason its not applying the alias in the index settings

    {
      "settings": {
        "index": {
          "lifecycle": {
            "name": "filebeat",
            "rollover_alias": "filebeat"
          },

rollover alias should be filebeat-test

can anyone see where im going wrong`?

1 Like

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