# Life Cycle Policies: Alias for rollover index

**URL:** <https://discuss.elastic.co/t/life-cycle-policies-alias-for-rollover-index/259390>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [December 22, 2020, 1:55pm UTC](https://discuss.elastic.co/t/life-cycle-policies-alias-for-rollover-index/259390 "2020-12-22T13:55:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jurilz](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@Jurilz](https://discuss.elastic.co/u/Jurilz)\
**Post date:** [December 22, 2020, 1:55pm UTC](https://discuss.elastic.co/t/life-cycle-policies-alias-for-rollover-index/259390/1 "2020-12-22T13:55:12Z")

</div>

**Kibana version** : 7.10.0

**Elasticsearch version** : 7.10.0

**Filebeat version** : 7.10.0

**Logstash version** : 7.10.0

Good day,

I'm trying to set up a lifecycle management for my indices. Therefore I created two index templates. One for each type of my logs.

My Problem comes with adding a lifecycle policy to my index templates. I'm asked for a 'alias for rollover index'.

I tried to leave it blank and got an error saying:

"lifecycle error alias empty or not defined"

I tried to state different aliases like:

'filebeat-tomcat', 'filebeat-tomcat-000001' or 'filebeat-tomcat-7.10.0-000001'

an got the error:

"index lifecycle rollover\_alias does not point to index"

My logs are collected by Filebeat and shipped to Logstash.

Or should I use the Logstash ILM ([https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-ilm](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-ilm)) instead ?

Thanks for any help in advance.

---

<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:** [January 19, 2021, 1:55pm UTC](https://discuss.elastic.co/t/life-cycle-policies-alias-for-rollover-index/259390/2 "2021-01-19T13:55:15Z")

</div>

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