When using curator to creates indices automatically using a cron job, how can we get the current timestamp to append in the name of the index.
This is required to create a time-based index.
When using curator to creates indices automatically using a cron job, how can we get the current timestamp to append in the name of the index.
This is required to create a time-based index.
Just found out how to do this: use Python strftime identifiers - curator-%Y%m%d%H%M%S
details here: https://www.elastic.co/guide/en/elasticsearch/client/curator/current/option_name.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.