# Able to attach more than one ILM policy to an index

**URL:** <https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [November 23, 2020, 11:24pm UTC](https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419 "2020-11-23T23:24:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sknayar](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@sknayar](https://discuss.elastic.co/u/sknayar)\
**Post date:** [November 23, 2020, 11:24pm UTC](https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419/1 "2020-11-23T23:24:56Z")

</div>

Once an index started moving through the phases of an ILM policy I can attach a second policy to the same index. Once this happens I cannot remove ILM policy from the index. I was able to attach the original policy back and then remove the ILM policy. I doubt this is intended behaviour

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 23, 2020, 11:43pm UTC](https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419/3 "2020-11-23T23:43:19Z")

</div>

> [@sknayar](#):
>
> Once this happens I cannot remove ILM policy from the index

Which policy are you referring to, the new one or the original one?

---

<div class="post-metadata">

**Author:** ![sknayar](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@sknayar](https://discuss.elastic.co/u/sknayar)\
**Post date:** [November 24, 2020, 12:00am UTC](https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419/4 "2020-11-24T00:00:02Z")

</div>

Using the API call -` POST <index>/_ilm/remove` I'm not sure which policy it tries to remove. It just times out, doesn't give an error

---

<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:** [December 22, 2020, 12:00am UTC](https://discuss.elastic.co/t/able-to-attach-more-than-one-ilm-policy-to-an-index/256419/5 "2020-12-22T00:00:07Z")

</div>

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