# How to create ISM snapshots without including the date in the snapshot name?

**URL:** <https://forum.opensearch.org/t/how-to-create-ism-snapshots-without-including-the-date-in-the-snapshot-name/6076>\
**Category:** Index Management\
**Created:** [May 31, 2021, 9:19am UTC](https://forum.opensearch.org/t/how-to-create-ism-snapshots-without-including-the-date-in-the-snapshot-name/6076 "2021-05-31T09:19:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phandora](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@Phandora](https://forum.opensearch.org/u/Phandora)\
**Post date:** [May 31, 2021, 9:19am UTC](https://forum.opensearch.org/t/how-to-create-ism-snapshots-without-including-the-date-in-the-snapshot-name/6076/1 "2021-05-31T09:19:29Z")

</div>

Hi OpenDistro, aka OpenSearch, team,

When including snapshots in the ISM policies, two parameters should be set, [the repository and the snapshot name](https://opendistro.github.io/for-elasticsearch-docs/docs/im/ism/policies/#snapshot). However, when the snapshot is performed, the snapshot name is taken as a prefix and the creation date is added after the name it is supposed to have. For instance, when using `my_snapshot` as the snapshot name, the snapshot is named as `my_snapshot-2021.05.31-08:47:56.580`.

Is there any way to change this behavior so that the snapshot name does not include the date it was created?

Best regards

---

<div class="post-metadata">

**Author:** ![thalurur](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@thalurur](https://forum.opensearch.org/u/thalurur)\
**Post date:** [June 2, 2021, 5:37pm UTC](https://forum.opensearch.org/t/how-to-create-ism-snapshots-without-including-the-date-in-the-snapshot-name/6076/2 "2021-06-02T17:37:14Z")

</div>

@Phandora there is no option available at the moment to not have date appended - [link](https://github.com/opensearch-project/index-management/blob/main/src/main/kotlin/org/opensearch/indexmanagement/indexstatemanagement/step/snapshot/AttemptSnapshotStep.kt#L78). I have a [PR](https://github.com/opendistro-for-elasticsearch/index-management/pull/425) that needs to be ported to OpenSearch to make the snapshot name a template but even in that the date suffix is still added.

Is there any specific use case you have to not append date to the name?

---

<div class="post-metadata">

**Author:** ![Phandora](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@Phandora](https://forum.opensearch.org/u/Phandora)\
**Post date:** [June 4, 2021, 7:30am UTC](https://forum.opensearch.org/t/how-to-create-ism-snapshots-without-including-the-date-in-the-snapshot-name/6076/3 "2021-06-04T07:30:56Z")

</div>

Oh, that is so nice! There is no specific use case, I was just testing the different settings and I was wondering if it was possible to configure the accurate name of the snapshot.

Deduce the snapshot name during runtime as a mustache script will make a big difference!

Is there any ETA for this feature?

Thanks.

Best regards.
