# How to use SLM to do snapshots ignoring hot and warm indices

**URL:** <https://discuss.elastic.co/t/how-to-use-slm-to-do-snapshots-ignoring-hot-and-warm-indices/232834>\
**Category:** Elasticsearch\
**Created:** [May 15, 2020, 1:46pm UTC](https://discuss.elastic.co/t/how-to-use-slm-to-do-snapshots-ignoring-hot-and-warm-indices/232834 "2020-05-15T13:46:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Vilvert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robert_vilvert/32/68263_2.png) [@Robert\_Vilvert](https://discuss.elastic.co/u/Robert_Vilvert)\
**Post date:** [May 15, 2020, 1:46pm UTC](https://discuss.elastic.co/t/how-to-use-slm-to-do-snapshots-ignoring-hot-and-warm-indices/232834/1 "2020-05-15T13:46:32Z")

</div>

Hi! I would like to know if it's possible to ignore my hot and warm indices on SLM. Could be something like ignoring some days too. Hot retention is already 7 days and warm 30 days, Can I make a policy like following pattern? my-index-{now/-37d}-\*

---

<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:** [June 12, 2020, 1:46pm UTC](https://discuss.elastic.co/t/how-to-use-slm-to-do-snapshots-ignoring-hot-and-warm-indices/232834/2 "2020-06-12T13:46:35Z")

</div>

Closed on June 12, 2020, 1:46pm UTC

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