# Data stream tracks generation

**URL:** <https://discuss.elastic.co/t/data-stream-tracks-generation/275729>\
**Category:** Elasticsearch\
**Tags:** datastreams\
**Created:** [June 12, 2021, 9:53am UTC](https://discuss.elastic.co/t/data-stream-tracks-generation/275729 "2021-06-12T09:53:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![demudrol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/demudrol/32/24030_2.png) [@demudrol](https://discuss.elastic.co/u/demudrol)\
**Post date:** [June 12, 2021, 9:53am UTC](https://discuss.elastic.co/t/data-stream-tracks-generation/275729/1 "2021-06-12T09:53:13Z")

</div>

Hi!  
There is [information](https://www.elastic.co/guide/en/elasticsearch/reference/current/data-streams.html#data-streams-generation) about following convention:

`.ds-<data-stream>-<yyyy.MM.dd>-<generation>`

But when define data stream in index template like this:

```auto
"index_patterns": ["my-data-stream-*"],
"data_stream": { }, 

```

There is no option to choose how backing index is creating.  
So based on information about convention my index must be like this:  
`.ds-my-data-stream-2021.06.12-00001` but in real we have `.ds-my-data-stream-00001`  
Is it possible to define how my backing index will be creating throw index template?  
Thanks!

---

<div class="post-metadata">

**Author:** ![demudrol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/demudrol/32/24030_2.png) [@demudrol](https://discuss.elastic.co/u/demudrol)\
**Post date:** [July 8, 2021, 3:00pm UTC](https://discuss.elastic.co/t/data-stream-tracks-generation/275729/2 "2021-07-08T15:00:42Z")

</div>

Any thoughts?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 5, 2021, 3:01pm UTC](https://discuss.elastic.co/t/data-stream-tracks-generation/275729/3 "2021-08-05T15:01:41Z")

</div>

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