# How to create ILM policy for all indices except for one

**URL:** <https://discuss.elastic.co/t/how-to-create-ilm-policy-for-all-indices-except-for-one/221643>\
**Category:** Elasticsearch\
**Created:** [March 2, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-to-create-ilm-policy-for-all-indices-except-for-one/221643 "2020-03-02T08:15:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amine\_Maalfi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/amine_maalfi/32/62335_2.png) [@Amine\_Maalfi](https://discuss.elastic.co/u/Amine_Maalfi)\
**Post date:** [March 2, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-to-create-ilm-policy-for-all-indices-except-for-one/221643/1 "2020-03-02T08:15:16Z")

</div>

Hi everyone,

i think the question is self explanatory, do i create the policy for the pattern "\*" and then use the new policy for that particular index pattern or is there another way?

---

<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:** [March 30, 2020, 8:15am UTC](https://discuss.elastic.co/t/how-to-create-ilm-policy-for-all-indices-except-for-one/221643/2 "2020-03-30T08:15:25Z")

</div>

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