# Error index.lifecycle.rollover\_alias does not pointto index

**URL:** <https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [February 25, 2020, 8:22am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788 "2020-02-25T08:22:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lbouquinUniv](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@lbouquinUniv](https://discuss.elastic.co/u/lbouquinUniv)\
**Post date:** [February 25, 2020, 8:22am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788/1 "2020-02-25T08:22:31Z")

</div>

Hello?  
I have a problem with Elasticsearch 6.8.  
I've try to create rollover but I have an error.  
type" : "illegal\_argument\_exception",  
"reason" : "index.lifecycle.rollover\_alias [test-alias-rollover] does not point to index [filebeat-7.4.2-ker-roolover-000001]",  
"stack\_trace" : """  
java.lang.IllegalArgumentException: index.lifecycle.rollover\_alias [test-alias-rollover] does not point to index [filebeat-7.4.2-ker-roolover-000001]  
at org.elasticsearch.xpack.core.indexlifecycle.WaitForRolloverReadyStep.evaluateCondition(WaitForRolloverReadyStep.java:92)  
at org.elasticsearch.xpack.indexlifecycle.IndexLifecycleRunner.runPeriodicStep(IndexLifecycleRunner.java:133)  
at org.elasticsearch.xpack.indexlifecycle.IndexLifecycleService.triggerPolicies(IndexLifecycleService.java:270)  
at org.elasticsearch.xpack.indexlifecycle.IndexLifecycleService.triggered(IndexLifecycleService.java:213)  
at org.elasticsearch.xpack.core.scheduler.SchedulerEngine.notifyListeners(SchedulerEngine.java:168)  
at org.elasticsearch.xpack.core.scheduler.SchedulerEngine$ActiveSchedule.run(SchedulerEngine.java:196)  
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)  
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)  
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)  
at java.base/java.lang.Thread.run(Thread.java:834)

```
"""

```

**Create policy**  
PUT /\_ilm/policy/test\_rollover\_policy  
{  
"policy": {  
"phases": {  
"hot": {  
"actions": {  
"rollover": {  
"max\_size": "2mB"  
, "max\_docs": 1000  
, "max\_age": "1d"  
}  
}  
},  
"delete": {  
"min\_age": "30d",  
"actions": {  
"delete": {}  
}  
}  
}  
}  
}

**create template**

```
   PUT _template/test_template_rollover
{
  "index_patterns": ["*-ker-roolover-*"], 
  "settings": {
    "number_of_shards": 1,
    "number_of_replicas": 1,
    "index.lifecycle.name": "test_rollover_policy", 
    "index.lifecycle.rollover_alias": "test-alias-rollover" 
  }
}

```

**create index and associate alias**  
PUT /rollover-000001  
{  
"aliases": {  
"test-alias-rollover":{  
"is\_write\_index": true  
}  
}  
}

**check alias**  
` GET /_cat/aliases?v`

> alias index filter routing.index routing.search  
> .kibana .kibana\_7 - - -  
> test-alias-rollover rollover-000001 - - -

Logs filed by logstash:  
elasticsearch {  
hosts =\> ['IP']  
manage\_template =\> false  
index =\> "%{[@metadata][beat]}-%{[@metadata][version]}-ker-roolover-000001"  
#filebeat-7.4.2-ker-roolover-000001  
}

---

<div class="post-metadata">

**Author:** ![grumo35](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/grumo35/32/59451_2.png) [@grumo35](https://discuss.elastic.co/u/grumo35)\
**Post date:** [February 25, 2020, 10:10am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788/2 "2020-02-25T10:10:48Z")

</div>

You alias must match the exact name ?

Isnt it missing the "filebeat" part ?

---

<div class="post-metadata">

**Author:** ![lbouquinUniv](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@lbouquinUniv](https://discuss.elastic.co/u/lbouquinUniv)\
**Post date:** [February 25, 2020, 10:18am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788/3 "2020-02-25T10:18:14Z")

</div>

```
POST /_aliases
{
    "actions" : [
        { "add" : { "index" : "filebeat-7.4.2-ker-roolover-000001", "alias" : "test-alias-rollover" , "is_write_index": true} }
    ]
}

```

alias index filter routing.index routing.search  
test-alias-rollover filebeat-7.4.2-ker-roolover-000001 - - -

I change it but it's the same issue.  
index.lifecycle.rollover\_alias [test-alias-rollover] does not point to index [filebeat-7.4.2-ker-roolover-000001]

---

<div class="post-metadata">

**Author:** ![lbouquinUniv](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@lbouquinUniv](https://discuss.elastic.co/u/lbouquinUniv)\
**Post date:** [February 26, 2020, 9:12am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788/4 "2020-02-26T09:12:29Z")

</div>

I found this problems. alias test-alia rollover pint to rollover-00001 and rollover-00002.  
Created other index but not fill it. Continue to fill rollover-000001

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/3/934a72868baa00bb7e70cb83227ffd9994506d49.png)

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

---

<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 25, 2020, 9:12am UTC](https://discuss.elastic.co/t/error-index-lifecycle-rollover-alias-does-not-pointto-index/220788/5 "2020-03-25T09:12:31Z")

</div>

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