# Index Lifecycle Error: rollover\_alias keep resetting back

**URL:** <https://discuss.elastic.co/t/index-lifecycle-error-rollover-alias-keep-resetting-back/190882>\
**Category:** Elasticsearch\
**Created:** [July 17, 2019, 6:17am UTC](https://discuss.elastic.co/t/index-lifecycle-error-rollover-alias-keep-resetting-back/190882 "2019-07-17T06:17:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TsuWeiQuan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsuweiquan/32/46252_2.png) [@TsuWeiQuan](https://discuss.elastic.co/u/TsuWeiQuan)\
**Post date:** [July 17, 2019, 6:17am UTC](https://discuss.elastic.co/t/index-lifecycle-error-rollover-alias-keep-resetting-back/190882/1 "2019-07-17T06:17:16Z")

</div>

illegal\_argument\_exception: index.lifecycle.rollover\_alias [metricbeat] does not point to index [metricbeat-pnsgsit1web7-2019.07.17-000006]

Hello,  
I have configured my ILM to rollover each day and i received this error on the first rollover.

my index settings:

```
  "index.lifecycle.name": "metricbeat-7.0.1",
  "index.lifecycle.rollover_alias": "metricbeat",

```

I have actually set the ilm in the metricbeat like this:

```
setup.ilm.enabled: auto
setup.ilm.rollover_alias: "metricbeat-pnsgsit1web7"
setup.ilm.pattern: "{now/d}-000001"
setup.ilm.policy_name: "metricbeat-7.0.1"
setup.ilm.policy_file: "/etc/metricbeat/metricbeat-7.0.1.json"
setup.ilm.check_exists: false
setup.ilm.overwrite: true

```

Currently i am renaming the alias to  
`"index.lifecycle.rollover_alias": "metricbeat-pnsgsit1web7"` manually and retrying lifecycle step. This solve the error temporary only.  
When the next roll over comes on the next day, the error appears again and the alias is set back to `"metricbeat"`.

How can i permanently tell metricbeat to rollover with the new updated alias?

---

<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 14, 2019, 6:17am UTC](https://discuss.elastic.co/t/index-lifecycle-error-rollover-alias-keep-resetting-back/190882/2 "2019-08-14T06:17:24Z")

</div>

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