Index lifecycle error and Index name error

Hello, I was trying to change the index name you see in 'index management'. And even though I was successful, I now have an 'Index lifecycle' error. This is how my code looks like: "filebeat-%{[agent.version]}-machine1"
setup.template.pattern: "filebeat-%{[agent.version]}-machine1-*"
output.elasticsearch.index: "filebeat-%{[agent.version]}-machine1"
setup.ilm.enabled: true
setup.ilm.rollover_alias: "filebeat-%{[agent.version]}-machine1"

The index name in index management shows like "filebeat-7.4.2-machine1-2020.01.17-000001", which I understand is correct in regards to the lifecycle management, however, I keep getting this error:
illegal_argument_exception: index.lifecycle.rollover_alias [filebeat-7.4.2-machine1-2020.01.17]
does not point to index [filebeat-7.4.2-machine1-2020.01.17-000001]

I'm guessing this is a fairly simple configuration mistake on my part, but I really don't understand how to make it work and why... Could you please help me? My ultimate goal is simply to change the index name in "index management" so I can have a different index per machine.

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