What version of elasticserach are you on? Important
So this is what I see...
Couple things... You will notice there is no max_age.... so can you run
GET _ilm/policy/policy1
I suspect that index is under Version 4 which did not have a max age and then you added max_age to a later version but that does not take affect on this index.
and in that version, there was no max_age and since it is already in that in the check rollover phase that index is tied to that version... so you will need to rollover manually.
But that new ILM policy should work on newer indices.
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.