Get current timestamp in actions.yml


(Srinivas Mangipudi) #1

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.


(Srinivas Mangipudi) #2

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


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.