During the same day on 2020.09.01, I executed the rollover api
POST /myindex/_rollover
{
"conditions": {
"max_docs": "1"
}
}
A new index was correctly added as myindex-2020.09.01-000002
However on 2020.09.02, the next day, I expected the new rollover index to be named myindex-2020.09.02-000003. But what I noticed is that the newly created rollover index is named myindex-2020.09.01-000003. The date part of the index name does not correctly match th date when the api was executed.
I am on Elastic 7.6.1.
I need help in fixing this rollover alias with date problem.
Thanks in advance for any help.
With ILM, the date in the index name is the date that the policy was first implemented. It does not relate to the date of the index creation. Instead, the counter increases as you are seeing.
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.