# Some index rollover\_alias are not updating

**URL:** <https://discuss.elastic.co/t/some-index-rollover-alias-are-not-updating/299194>\
**Category:** Logstash\
**Tags:** ilm-index-lifecycle-management\
**Created:** [March 9, 2022, 9:56am UTC](https://discuss.elastic.co/t/some-index-rollover-alias-are-not-updating/299194 "2022-03-09T09:56:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![V\_Steeph](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/v_steeph/32/100359_2.png) [@V\_Steeph](https://discuss.elastic.co/u/V_Steeph)\
**Post date:** [March 9, 2022, 9:56am UTC](https://discuss.elastic.co/t/some-index-rollover-alias-are-not-updating/299194/1 "2022-03-09T09:56:39Z")

</div>

Hello,

We are currently using ELK to centralize every log of our system. There are lots of elements and everything is retrieved through Logstash with one big config file.

Each element has the same structure :

```auto
	else if [type] == "hipayprod"{
				elasticsearch {
				hosts => ["localhost:9200"]
				index => "{type}-%{+YYYY.MM.dd}"
				ilm_enabled => true
				ilm_rollover_alias => "hipayprod-"
				ilm_pattern => "000001"
				ilm_policy => "natdecpolicy"
			}
	}

```

Here, you can see that the index.lifecycle.rollover\_alias is "hipayprod-" with a dash at the end. However, the old alias was only "hipayprod" without the dash.

My issue is that some index doesn't update and some does.

This is one of my index on Kibana :

```auto
{
  "index.blocks.read_only_allow_delete": "false",
  "index.query.default_field": [
    "*"
  ],
  "index.write.wait_for_active_shards": "1",
  "index.lifecycle.name": "natdecpolicy",
  "index.lifecycle.rollover_alias": "front1",
  "index.refresh_interval": "5s",
  "index.priority": "100",
  "index.number_of_replicas": "1"
}

```

As you can see the index.lifecycle.rollover\_alias is "front1" without the dash. This means that it doesn't roll over.

If I manually update the index on KIbana, it will roll over but then it will go back to the wrong alias. Restarting Logstash doesn't work.

What is weird to me is that every index is configured the same way and some are working properly and some aren't.

---

<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 6, 2022, 9:57am UTC](https://discuss.elastic.co/t/some-index-rollover-alias-are-not-updating/299194/2 "2022-04-06T09:57:41Z")

</div>

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