Change index name and policy name to use

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)
  1. I first created ILM Policy named "dns-ilm" using kibana's "Index Lifecycle Policies" menu

  2. 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!
  1. 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.

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