# HELP \[illegal\_argument\_exception: index.lifecycle.rollover\_alias \[sonicwall-\*\] does not point to index \[sonicwall-2020.09.28-000001\]\]

**URL:** <https://discuss.elastic.co/t/help-illegal-argument-exception-index-lifecycle-rollover-alias-sonicwall-does-not-point-to-index-sonicwall-2020-09-28-000001/250281>\
**Category:** Kibana\
**Tags:** ilm-index-lifecycle-management\
**Created:** [September 29, 2020, 3:03am UTC](https://discuss.elastic.co/t/help-illegal-argument-exception-index-lifecycle-rollover-alias-sonicwall-does-not-point-to-index-sonicwall-2020-09-28-000001/250281 "2020-09-29T03:03:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kavierkoo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kavierkoo/32/86555_2.png) [@kavierkoo](https://discuss.elastic.co/u/kavierkoo)\
**Post date:** [October 5, 2020, 4:00am UTC](https://discuss.elastic.co/t/help-illegal-argument-exception-index-lifecycle-rollover-alias-sonicwall-does-not-point-to-index-sonicwall-2020-09-28-000001/250281/5 "2020-10-05T04:00:04Z")

</div>

In your index template, it shows below which seems incorrect

> [@Akbar\_Maulana](#):
>
> ` "rollover_alias": "sonicwall-*"`

rollover\_alias should be example `sonicwall` instead of having a `-*` inside

Also your `logstash conf.d` `index =>` should point to your `rollover_alias` instead of `"sonicwall-%{+YYYY.MM.dd}"`

If you wanted to add date to your index, you can take a look at this [post](https://discuss.elastic.co/t/index-lifecycle-rollover-alias-does-not-point-to-index/192525) or read up on [date math](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/indices-rollover-index.html#_using_date_math_with_the_rollover_api)

This [document](https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html#manage-time-series-data-without-data-streams) helps me alot when I'm configuring ILM

Hope this can help you!

---

_[View the full topic](https://discuss.elastic.co/t/help-illegal-argument-exception-index-lifecycle-rollover-alias-sonicwall-does-not-point-to-index-sonicwall-2020-09-28-000001/250281)._
