Index rotation

Hello,

I have upgraded to elasticsearch v7.2.0 and the same has been done for all beats that I used along with kibana. Now, since I upgraded, my indexes have been rotating based on size roughly 100gb, instead of date. How can I revert back to how it used to be, rotation based on dates?

setup.template.enabled: true
setup.template.name: "metricbeat-%{[agent.version]}"
setup.template.pattern: "metricbeat-%{[agent.version]}-*"
setup.template.override: true

output.elasticsearch:
      hosts: ["https://hostname:port"]
      index: "metricbeat-%{[agent.version]}-%{+yyyy.MM.dd}"
      ssl.certificate_authorities:
        - /etc/pki/tls/beats/ca.crt
      ssl.certificate: "/etc/pki/tls/beats/client.pem"
      ssl.key: "/etc/pki/tls/beats/key.pem"
      username: "elastic"
      password: "password"

Solved it! Solution:

setup.ilm.enabled: false

That ilm stuff aint noo good.

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