This is a basic question. But can you please clarify.
I have a setting in my file beat configuration.
setup.ilm.enabled: auto
# Configure the ILM write alias name.
setup.ilm.rollover_alias: "metricbeat"
# Configure rollover index pattern.
setup.ilm.pattern: "{now/d}-000001"
I am installing beats on multiple server. I see with every installation the version of the ILM policy is changing. So I assume its being over written.
With this, even if it overwrites, it will overwrite with the policy you have set. However, you need to rollover the indices manually for them to be in sync to the same version.
Yes, you are right. You can set
setup.ilm.check_exists: true
setup.ilm.overwrite: false
to disable overwrite too. I recalled i had some issue with it hence i did it the overwrite method for the time being
I presume that there is a bug in these settings.
Even tho ilm overwrite was set to false. Running filebeat setup -e would still overwrite the policy.
Similar scenario appears in metricbeat too.
2019-07-04T11:15:00.216+0800 INFO [index-management] idxmgmt/std.go:400 Set settings.index.lifecycle.rollover_alias in template to {metricbeat-cei2sitsvr {now/d}-000001} as ILM is enabled.
2019-07-04T11:15:00.216+0800 INFO [index-management] idxmgmt/std.go:404 Set settings.index.lifecycle.name in template to {metricbeat-7.0.1 map[policy:map[phases:map[cold:map[min_age:3d actions:map[]] delete:map[min_age:5d actions:map[delete:map[]]] hot:map[min_age:0ms actions:map[rollover:map[max_age:1dmax_size:15gb]]] warm:map[min_age:3d actions:map[]]]]]} as ILM is enabled.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.