# Switching policies for an index

**URL:** <https://discuss.elastic.co/t/switching-policies-for-an-index/296200>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [February 3, 2022, 2:02pm UTC](https://discuss.elastic.co/t/switching-policies-for-an-index/296200 "2022-02-03T14:02:45Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [February 8, 2022, 1:43pm UTC](https://discuss.elastic.co/t/switching-policies-for-an-index/296200/5 "2022-02-08T13:43:30Z")

</div>

I do not use datastreams or rollover, but you have this information in the same [documentation link](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/set-up-lifecycle-policy.html#apply-policy-manually).

> Do not manually apply a policy that uses the rollover action. Policies that use rollover must be applied by the [index template](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/set-up-lifecycle-policy.html#apply-policy-template). Otherwise, the policy is not carried forward when the rollover action creates a new index.

I'm not sure it will be possible to do what you want manually.

---

_[View the full topic](https://discuss.elastic.co/t/switching-policies-for-an-index/296200)._
