# Illegal\_argument\_exception: index.lifecycle.rollover\_alias \[nginx\_uat\_test-frontend\_mobile-test\] does not point to index \[nginx\_uat\_test-frontend\_mobile\_2023.05.12\]

**URL:** <https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-nginx-uat-test-frontend-mobile-test-does-not-point-to-index-nginx-uat-test-frontend-mobile-2023-05-12/333276>\
**Category:** Elasticsearch\
**Created:** [May 12, 2023, 9:54am UTC](https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-nginx-uat-test-frontend-mobile-test-does-not-point-to-index-nginx-uat-test-frontend-mobile-2023-05-12/333276 "2023-05-12T09:54:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alwyn\_Tiu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alwyn_tiu/32/120679_2.png) [@Alwyn\_Tiu](https://discuss.elastic.co/u/Alwyn_Tiu)\
**Post date:** [May 12, 2023, 9:54am UTC](https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-nginx-uat-test-frontend-mobile-test-does-not-point-to-index-nginx-uat-test-frontend-mobile-2023-05-12/333276/1 "2023-05-12T09:54:03Z")

</div>

Rule：  
{  
"del-test" : {  
"version" : 1,  
"modified\_date" : "2023-05-11T09:30:54.350Z",  
"policy" : {  
"phases" : {  
"hot" : {  
"min\_age" : "0ms",  
"actions" : {  
"rollover" : {  
"max\_age" : "1d"  
},  
"set\_priority" : {  
"priority" : 100  
}  
}  
},  
"delete" : {  
"min\_age" : "2d",  
"actions" : {  
"delete" : {  
"delete\_searchable\_snapshot" : true  
}  
}  
},  
"cold" : {  
"min\_age" : "1d",  
"actions" : {  
"set\_priority" : {  
"priority" : 0  
}  
}  
}  
}  
}  
}  
}

Index template：  
{  
"index\_templates" : [  
{  
"name" : "test-delete-index",  
"index\_template" : {  
"index\_patterns" : [  
"nginx\_uat\_test-frontend\_mobile\*"  
],  
"template" : {  
"settings" : {  
"index" : {  
"lifecycle" : {  
"name" : "del-test",  
"rollover\_alias" : "nginx\_uat\_test-frontend\_mobile-test"  
},  
"number\_of\_shards" : "2",  
"number\_of\_replicas" : "1"  
}  
}  
},  
"composed\_of" : [  
"logs-mappings-uat-test"  
],  
"priority" : 200  
}  
}  
]  
}

Index Error message:  
illegal\_argument\_exception: index.lifecycle.rollover\_alias [nginx\_uat\_test-frontend\_mobile-test] does not point to index [nginx\_uat\_test-frontend\_mobile\_2023.05.12]

---

<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:** [June 9, 2023, 9:54am UTC](https://discuss.elastic.co/t/illegal-argument-exception-index-lifecycle-rollover-alias-nginx-uat-test-frontend-mobile-test-does-not-point-to-index-nginx-uat-test-frontend-mobile-2023-05-12/333276/2 "2023-06-09T09:54:50Z")

</div>

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