I'm using official filebeat and metricbeat docker image in kubernetes.
I set setup.template.settings.index.lifecycle.name config as log-policy and checked that config is properly set in beat pods, but log shows
2019-01-30T03:51:37.269Z INFO instance/beat.go:850 Set setup.template.name to 'filebeat-6.6.0' as ILM is enabled.
2019-01-30T03:51:37.269Z INFO instance/beat.go:856 Set setup.template.pattern to 'filebeat-6.6.0-*' as ILM is enabled.
2019-01-30T03:51:37.269Z INFO instance/beat.go:863 Set settings.index.lifecycle.rollover_alias in template to filebeat-6.6.0 as ILM is enabled.
2019-01-30T03:51:37.269Z INFO instance/beat.go:868 Set settings.index.lifecycle.name in template to beats-default-policy as ILM is enabled.
and lifecycle name in elasticsearch template is also beats-default-policy.
It seems lifecycle name config doesn't work and always set default value.
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.