Hi, How do I properly set up an ILM policy for .monitoring-* indexes?
When I create a policy and add it to the index templates I get some error about rollover_alias
Then when I add rollover alias and I get another error that it doesn't point to that index
Then I add alias to the index template (that matches the rollover alias), then there is another error that it is not pointing to a write index
So basically I should not add alias to the template but kickstart the index with alias and as a write index. But how to do that when indexes are already existing?
Now getting illegal_argument_exception: index.lifecycle.rollover_alias [metricbeat-7.4.2] does not point to index [metricbeat-7.4.2-2021.10.01] on all .monitoring indexes.
If I now try to add rollover alias then I guess I would be back to the issue described above.
Any idea what I'm doing wrong?
Should I revers the order of templates? My "monitoring" template has order:10 and other default monitoring templates all have order:0.
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.