# Rollover\_alias XXX does not point to index XXX

**URL:** <https://discuss.elastic.co/t/rollover-alias-xxx-does-not-point-to-index-xxx/296794>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [February 10, 2022, 1:42am UTC](https://discuss.elastic.co/t/rollover-alias-xxx-does-not-point-to-index-xxx/296794 "2022-02-10T01:42:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [February 10, 2022, 1:42am UTC](https://discuss.elastic.co/t/rollover-alias-xxx-does-not-point-to-index-xxx/296794/1 "2022-02-10T01:42:15Z")

</div>

I see the following error on kibana Index Management, I have some doubts, these indexes have already pointed to the corresponding alias (index.lifecycle.rollover\_alias) according to the template, why is it prompted that [apm-7.14.0-span] does not point to index [apm-7.14.0-span-000003]?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/1/f1ed47c9856f15b5532f3776381e81d3615589c4.png)

```auto
illegal_argument_exception: index.lifecycle.rollover_alias [apm-7.14.0-metric] does not point to index [apm-7.14.0-metric-000003]
illegal_argument_exception: index.lifecycle.rollover_alias [apm-7.14.0-span] does not point to index [apm-7.14.0-span-000003]

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/5/e5db44783061f003032306538162497ac2fb03cf.png)

I see that the alias of index points to none. Does it matter?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5f6ad35df88b3472a4be37ded6bcf51a76aa6508.png)

---

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [February 10, 2022, 2:47am UTC](https://discuss.elastic.co/t/rollover-alias-xxx-does-not-point-to-index-xxx/296794/2 "2022-02-10T02:47:38Z")

</div>

Based on clues from other posts, I probably understand that I need to force the index to be associated with the alias.

The correct operation is similar to

```auto
POST _aliases
{
  "actions": [
    {
      "add": {
        "index": "apm-7.14.0-transaction-*",
        "alias": "apm-7.14.0-transaction"
      }
    }
  ]
}

```

---

<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:** [March 10, 2022, 2:48am UTC](https://discuss.elastic.co/t/rollover-alias-xxx-does-not-point-to-index-xxx/296794/3 "2022-03-10T02:48:17Z")

</div>

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