Index management : change index name in filebeat


I try to change the index name in filebeat.yml but when I start the filebeat, it still running on the oldest conf :

filebeat.yml :
hosts: ["xx.xx.xx.xx:9200"]
#index: "filebeat-%{[agent.version]}-%{+yyyy.MM.dd}"
index: "network-%{+yyyy.MM.dd}"

index.number_of_shards: 1
setup.template.enabled: true "network"
setup.template.pattern: "network-*"

here, the log :
Set output.elasticsearch.index to 'filebeat-7.3.0' as ILM is enabled.

Only I think in the indentation of the text...

Coz ILM is enable. you need to add 'setup.ilm.enabled: false' to your filebeat.yml

it's works when setup.ilm.enabled is false !


I will try it.

Good tip, thanks.

What if doesn't work?

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