Hi, I am using elk 8.0.0v in windows. Data deletion of upcoming indices is not happening for the time duration setted in ILM (ex:5mints (for testing purpose)).I have created ILM template and assigned metricbeat 8.0.0.
There is no error showing in kibana and Elasticsearch node logs.
This is the source code i implemented (it is not working):
1st that is not a valid ILM with Hot and Delete only works after the rollover happens you have no rollover for hot. I would recommend using the UI in Kibana and look at what the request looks like
2nd ILM is not designed for time frame on the order of minutes or exact bytes.... the background task runs every 10 mins or so. Think of ILM is meant to run on "Hours and Gigabytes" it is not mean to be exact at the minute or byte...
In the real world at scale of size and time it works as designed.
We see this often people want to test ILM with tiny shard sizes and minutes and wonder why it does not execute on the exact minute and size... it will not you can put in 1 hour or so and it will be close... etc.
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.