# Curator Rollover index - mapping changed for new index

**URL:** https://discuss.elastic.co/t/curator-rollover-index-mapping-changed-for-new-index/179739
**Category:** Elasticsearch
**Tags:** curator
**Created:** [May 6, 2019, 10:19am UTC](https://discuss.elastic.co/t/curator-rollover-index-mapping-changed-for-new-index/179739 "2019-05-06T10:19:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jayabal\_K](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jayabal_k/32/41905_2.png) [@Jayabal\_K](https://discuss.elastic.co/u/Jayabal_K)
#### Post date: [May 6, 2019, 10:19am UTC](https://discuss.elastic.co/t/curator-rollover-index-mapping-changed-for-new-index/179739/1 "2019-05-06T10:19:20Z")

</div>

I have one index with some static mapping ,When rollover the index based on max age (1 day), new index mapping changes to dynamic mapping.

The old index mapping and new index mapping doesn't sync. The goal is to have same mapping for all the index created by rollover.

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [May 6, 2019, 11:27am UTC](https://discuss.elastic.co/t/curator-rollover-index-mapping-changed-for-new-index/179739/2 "2019-05-06T11:27:33Z")

</div>

Mappings do not automatically follow on rollover. You should put the static mapping into an index mapping template, such that on rollover, each new index receives the desired mapping.

---

<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: [June 3, 2019, 11:28am UTC](https://discuss.elastic.co/t/curator-rollover-index-mapping-changed-for-new-index/179739/3 "2019-06-03T11:28:10Z")

</div>

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