Hi,
Is there a way to name the new indices by date? something like:
my-index-(now/d), instead of just an increasing number.
(I'm indexing data by using the API directly, with out any ingestion server)
Thanks
SOLVED
can be done by creating the first index with the following command:
PUT /%3Cmy-index-%7Bnow%2Fd%7D-000001%3E
after that, any other index that is created automatically will get the same template (with an increasing number).
taken from these docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/date-math-index-names.html