# Update template and force rollover

**URL:** <https://discuss.elastic.co/t/update-template-and-force-rollover/277886>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [July 5, 2021, 11:11pm UTC](https://discuss.elastic.co/t/update-template-and-force-rollover/277886 "2021-07-05T23:11:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimitris\_sb](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@dimitris\_sb](https://discuss.elastic.co/u/dimitris_sb)\
**Post date:** [July 5, 2021, 11:11pm UTC](https://discuss.elastic.co/t/update-template-and-force-rollover/277886/1 "2021-07-05T23:11:06Z")

</div>

Hi All,

Is it possible after applying a new template to ILM (with rollover every x GB or y days) managed indices, to force rollover?

Could I use the rollover API in order to create new indices which will follow the changes in the template (e.g. different number of shards)?

I just want to expedite the rollover process which will normally be applied by the ILM policy.  
The indices should continue following what the ILM policy dictates.

Thank you in advance

---

<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:** [August 2, 2021, 11:11pm UTC](https://discuss.elastic.co/t/update-template-and-force-rollover/277886/2 "2021-08-02T23:11:22Z")

</div>

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