so I created a working lifecycle policy and I want it to apply it to the indices that are daily created by filebeat. But my filebeat configuration uses setup.template.name and setup.template.pattern and I dont want to change it to avoid the tons of mappings. But I cant define a policy for filebeat because If index lifecycle management is enabled (which is typically the default), setup.template.name and setup.template.pattern are ignored.. Is there any way to solve this problem?
If you want daily backing indices, then you will set the rollover to 1d in the ILM policy, not on the index name i.e. don't use -%{+yyyy.MM.dd} ... In General, you do not use the Daily Naming and ILM together... its one or the other... with ILM rollover set to 1 day you effectively get Daily indices... that will look like
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.