# Need assistance with creating daily winlogbeat indices that follow an ILM policy

**URL:** <https://discuss.elastic.co/t/need-assistance-with-creating-daily-winlogbeat-indices-that-follow-an-ilm-policy/300665>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [March 25, 2022, 7:25am UTC](https://discuss.elastic.co/t/need-assistance-with-creating-daily-winlogbeat-indices-that-follow-an-ilm-policy/300665 "2022-03-25T07:25:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roman-tasi](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@roman-tasi](https://discuss.elastic.co/u/roman-tasi)\
**Post date:** [March 25, 2022, 7:25am UTC](https://discuss.elastic.co/t/need-assistance-with-creating-daily-winlogbeat-indices-that-follow-an-ilm-policy/300665/1 "2022-03-25T07:25:43Z")

</div>

I created a winlogbeat index with a PUT request as so :

```auto
PUT /%3Cwinlogbeat-%7Bnow%2Fd%7D-000001%3E
{
"aliases": {
"winlogbeat": {
"is_write_index": true
}
}
}

```

It then asked me to select a rollover alias from a dropdown. I selected the only option which was "winlogbeat". However when I look at the index template, it does not show a `rollover_alias` in the settings nor an `alias`.

We are also getting this error for the index we created :

`illegal_argument_exception: setting [index.lifecycle.rollover_alias] for index [winlogbeat-2022.03.25-000002] is empty or not defined`

So how do I fix this and get daily indices that follow a deletion pattern?

---

<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:** [April 22, 2022, 9:26am UTC](https://discuss.elastic.co/t/need-assistance-with-creating-daily-winlogbeat-indices-that-follow-an-ilm-policy/300665/2 "2022-04-22T09:26:37Z")

</div>

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