# Datastream rollover without dated

**URL:** <https://discuss.elastic.co/t/datastream-rollover-without-dated/314710>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management, datastreams\
**Created:** [September 19, 2022, 4:04pm UTC](https://discuss.elastic.co/t/datastream-rollover-without-dated/314710 "2022-09-19T16:04:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![talShtark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talshtark/32/111014_2.png) [@talShtark](https://discuss.elastic.co/u/talShtark)\
**Post date:** [September 19, 2022, 4:04pm UTC](https://discuss.elastic.co/t/datastream-rollover-without-dated/314710/1 "2022-09-19T16:04:43Z")

</div>

Hello,  
Im completely new to ES 🙂

I create some indices and index template - "logs", with a datastream.

The index template is attached to an Index Lifecycle Policy with automatic rollover (default settings (30 days or 50GB)).

Now, I can see that I have an index that is called ` .ds-logs-2022.08.25-000001` that backing up my datastream.  
But, when I have rollover every 30days, having the date as part of the index is pretty useless...

\*\* I didn׳t create any alias when creating my index template...

What should I do if I want my indicies to be like `.ds-logs-000001` ? (and after 30 days: `.ds-logs-000002`)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 19, 2022, 8:26pm UTC](https://discuss.elastic.co/t/datastream-rollover-without-dated/314710/2 "2022-09-19T20:26:57Z")

</div>

Welcome.

You should not really worry about this.  
If you create a datastream `logs`, the only index you should look at is `logs` which is indeed an alias behind the scene.

> [@talShtark](#):
>
> What should I do if I want my indicies to be like `.ds-logs-000001` ? (and after 30 days: `.ds-logs-000002`)

You should not try to use the concrete index names IMO.

---

<div class="post-metadata">

**Author:** ![talShtark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/talshtark/32/111014_2.png) [@talShtark](https://discuss.elastic.co/u/talShtark)\
**Post date:** [September 20, 2022, 8:41am UTC](https://discuss.elastic.co/t/datastream-rollover-without-dated/314710/3 "2022-09-20T08:41:30Z")

</div>

I see.  
Thanks @dadoonet !

---

<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:** [October 18, 2022, 8:42am UTC](https://discuss.elastic.co/t/datastream-rollover-without-dated/314710/4 "2022-10-18T08:42:15Z")

</div>

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