Is there any way to do date math in Curator? I have daily indicies. I know about templates, but there are certain things you can't do with templates.
Specifically, I want to create: index-%Y-%m-${tomorrow} with alias-v3-%Y-%m-${tomorrow}.
I tried %{d+1} but that did not work.
Out of curiosity, what would you like to do with that templates can't do?
I want to have an alias with the same date as the index. You can use dates and date math in the index name, but does that work for aliases too?
It's already got a feature request issue
It will be added at some point. https://github.com/elastic/curator/issues/511#issuecomment-214523710
© 2020. All Rights Reserved - Elasticsearch
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.