I wanna change the index name and the lifecycle policy name to use of packetbeat to my own.
- index name: packetbeat-7.4.1-2019.10.28 to dns-2019.10.28
- ILM Policy: packetbeat-7.4.1 to ilm-dns (I created)
-
I first created ILM Policy named "dns-ilm" using kibana's "Index Lifecycle Policies" menu
-
and then I configured packetbeat.yml file like this
setup.ilm.enabled: true
setup.ilm.rollover_alias: "dns"
setup.ilm.pattern: "{now/d}-000001"
setup.ilm.policy_name: "ilm-dns" // It try to overwrite the policy! when I checked the packetbeat log.
// Why? I just wanna use it!
- start packetbeat, index name is changed to "dns-2019.10.28"
but Lifecycle policy didn't change, is still "packetbeat-7.4.1"
How can I change the lifecycle policy to waht I created?
please, help me.