# SLM should be happening only for Delete Phase indices

**URL:** <https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546>\
**Category:** Kibana\
**Tags:** docker, slm-snapshot-lifecycle-management\
**Created:** [March 13, 2023, 11:59am UTC](https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546 "2023-03-13T11:59:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_kr](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Gaurav\_kr](https://discuss.elastic.co/u/Gaurav_kr)\
**Post date:** [March 13, 2023, 11:59am UTC](https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546/1 "2023-03-13T11:59:05Z")

</div>

Hi All,  
I am using ELK version 8.0.0, where we are using SLM policy but wanted to know it there any option to make sure when the SLM happens it should be only happening for indices which are in delete phase. Currently it happens for all the indices e.g if we select winlogbeat than when SLM happen it take the snapshot for entire indices whether it is in Hot, warm, cold or delete phase due to this the space is consumed by SLM which is irrelevant.

please suggest Thank you.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [March 13, 2023, 1:01pm UTC](https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546/2 "2023-03-13T13:01:22Z")

</div>

> [@Gaurav\_kr](#):
>
> I am using ELK version 8.0.0, where we are using SLM policy but wanted to know it there any option to make sure when the SLM happens it should be only happening for indices which are in delete phase.

There is no such option, when the SLM runs it will create a snapshot of all the indices that match its pattern regardless of the ILM phase of those indices.

---

<div class="post-metadata">

**Author:** ![Gaurav\_kr](https://avatars.discourse-cdn.com/v4/letter/g/c5a1d2/32.png) [@Gaurav\_kr](https://discuss.elastic.co/u/Gaurav_kr)\
**Post date:** [March 13, 2023, 5:28pm UTC](https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546/3 "2023-03-13T17:28:59Z")

</div>

Thank you @leandrojmp

---

<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 10, 2023, 5:29pm UTC](https://discuss.elastic.co/t/slm-should-be-happening-only-for-delete-phase-indices/327546/4 "2023-04-10T17:29:24Z")

</div>

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