# Using Index template - how to configure rolling over property

**URL:** <https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663>\
**Category:** Elasticsearch\
**Created:** [June 20, 2019, 11:03am UTC](https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663 "2019-06-20T11:03:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANKIT\_SINGHAI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankit_singhai/32/44720_2.png) [@ANKIT\_SINGHAI](https://discuss.elastic.co/u/ANKIT_SINGHAI)\
**Post date:** [June 20, 2019, 11:03am UTC](https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663/1 "2019-06-20T11:03:47Z")

</div>

Hi Team,  
I would like to configure max\_age property for an index which follows an template. How to set this configuration in template so that I don't have to do it for all the indexes which matches index\_patterns individually?

Thanks

---

<div class="post-metadata">

**Author:** ![ljefferies](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ljefferies/32/48432_2.png) [@ljefferies](https://discuss.elastic.co/u/ljefferies)\
**Post date:** [June 20, 2019, 12:24pm UTC](https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663/2 "2019-06-20T12:24:13Z")

</div>

Try having a look at this and see if it helps?  
[Index Lifecycle Management](https://www.elastic.co/guide/en/elasticsearch/reference/7.1/getting-started-index-lifecycle-management.html)

---

<div class="post-metadata">

**Author:** ![ANKIT\_SINGHAI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankit_singhai/32/44720_2.png) [@ANKIT\_SINGHAI](https://discuss.elastic.co/u/ANKIT_SINGHAI)\
**Post date:** [June 21, 2019, 5:11am UTC](https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663/3 "2019-06-21T05:11:58Z")

</div>

Thanks it helped me a lot.

---

<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:** [July 19, 2019, 5:11am UTC](https://discuss.elastic.co/t/using-index-template-how-to-configure-rolling-over-property/186663/4 "2019-07-19T05:11:58Z")

</div>

Closed on July 19, 2019, 5:11am UTC

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