# Data Stream Backing Index Naming

**URL:** <https://discuss.elastic.co/t/data-stream-backing-index-naming/299861>\
**Category:** Elasticsearch\
**Created:** [March 16, 2022, 1:24pm UTC](https://discuss.elastic.co/t/data-stream-backing-index-naming/299861 "2022-03-16T13:24:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![omer](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@omer](https://discuss.elastic.co/u/omer)\
**Post date:** [March 16, 2022, 1:24pm UTC](https://discuss.elastic.co/t/data-stream-backing-index-naming/299861/1 "2022-03-16T13:24:26Z")

</div>

Hi,

I am using data stream to index my log records. In documentation, it is said that the backing index is named using the following convention:

.ds-[data-stream]-[yyyy.MM.dd]-[generation]

but in my case, time segment does not appear.

I simply create an index template with index pattern : "my-data\*", and my data stream name is also "my-data-stream". So I expect that my backing indices will be named like ".ds-my-data-stream-2022.03.16-000001" but I got ".ds-my-data-stream-000001". In youtube and other sources, that has happened in the same way but want the time segment as it is explained in documentation. Can you help me?

My mapping is like :

> {  
> "\_routing": {  
> "required": false  
> },  
> "dynamic": false,  
> "\_source": {  
> "excludes": ,  
> "includes": ,  
> "enabled": true  
> },  
> "properties": {  
> "@timestamp": {  
> "type": "date"  
> },  
> "log\_message": {  
> "type": "text"  
> }  
> }  
> }

for testing purpose.

---

<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:** [April 13, 2022, 1:24pm UTC](https://discuss.elastic.co/t/data-stream-backing-index-naming/299861/2 "2022-04-13T13:24:58Z")

</div>

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