# Adding rollover configuration in ELK 7.6

**URL:** https://discuss.elastic.co/t/adding-rollover-configuration-in-elk-7-6/265521
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [February 25, 2021, 5:01pm UTC](https://discuss.elastic.co/t/adding-rollover-configuration-in-elk-7-6/265521 "2021-02-25T17:01:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Atul\_Chadha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/atul_chadha/32/75469_2.png) [@Atul\_Chadha](https://discuss.elastic.co/u/Atul_Chadha)
#### Post date: [February 25, 2021, 5:01pm UTC](https://discuss.elastic.co/t/adding-rollover-configuration-in-elk-7-6/265521/1 "2021-02-25T17:01:29Z")

</div>

I am trying to rollover indices that are over 30 days and need to target indices that are already in the elasticsearch along with new indices  
Our indices get created on weekly basis and i am not able to add an rollover alias to the indice.

Lifecycle policy for the index pattern below

```auto
{
  "index": {
    "lifecycle": {
      "name": "ilm-test",
      "rollover_alias": "rollover_infra"
    }
  }
}

```

Filebeat config:

```
setup.ilm.enabled: true
setup.template.enabled: true
setup.template.name: "inf"
setup.template.pattern: "001"
fields_under_root: true
index.lifecycle.rollover_alias: "rollover_infra"
aliases: "rollover_infra"
is_write_index: "true"

```

Error i get while using ilm explain

` "reason" : "index.lifecycle.rollover_alias [rollover_infra] does not point to index [inf_ilm_test_logs-2021.08]",`

---

<div class="post-metadata">

### Author: ![ORich](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/orich/32/21675_2.png) [@ORich](https://discuss.elastic.co/u/ORich)
#### Post date: [March 10, 2021, 2:32pm UTC](https://discuss.elastic.co/t/adding-rollover-configuration-in-elk-7-6/265521/2 "2021-03-10T14:32:13Z")

</div>

Dear Atul,  
please note that If [index lifecycle management](https://www.elastic.co/guide/en/beats/filebeat/7.10/ilm.html) is enabled (which is typically the default), `setup.template.name` and `setup.template.pattern` are ignored.

---

<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: [April 7, 2021, 2:32pm UTC](https://discuss.elastic.co/t/adding-rollover-configuration-in-elk-7-6/265521/3 "2021-04-07T14:32:40Z")

</div>

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