Datastream index name


I was reading the documentation here: Data streams | Elasticsearch Guide [7.17] | Elastic

I read that the index name is generated with the following format


This means that every day a new index is created (even multiple at some times).
Is there a way to generate index with the following template:


Without the day in the name format ?

The associated ILM policy determines how frequently (by age and/or size) a new backing index is generated. The date in the index name does not mean it is generated every day, just that the date it was created is added to the index name. You can as far as I know skip days between generations, e.g. go from .ds-test-2222.06.12-000012 to .ds-test-2222.06.26-000013 if the indices are rolled 14 days apart.

1 Like

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