# How to import Winlogbeat index template when using ILM and Logstash?

**URL:** <https://discuss.elastic.co/t/how-to-import-winlogbeat-index-template-when-using-ilm-and-logstash/218354>\
**Category:** Elasticsearch\
**Created:** [February 7, 2020, 1:42pm UTC](https://discuss.elastic.co/t/how-to-import-winlogbeat-index-template-when-using-ilm-and-logstash/218354 "2020-02-07T13:42:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdaa](https://avatars.discourse-cdn.com/v4/letter/f/13edae/32.png) [@fdaa](https://discuss.elastic.co/u/fdaa)\
**Post date:** [February 7, 2020, 1:42pm UTC](https://discuss.elastic.co/t/how-to-import-winlogbeat-index-template-when-using-ilm-and-logstash/218354/1 "2020-02-07T13:42:30Z")

</div>

How do I manually import the Winlogbeat index template when using ILM and Logstash with the following configuration? I have tried every possible setting I can think of in my temporary winlogbeat.yml but can't get it to work.

[EDIT]  
I know of the setup parameter for winlogbeat. I just don't know how to configure my winlogbeat.yml to create a template that support the settings stated below.

ILM Policy Name: winlogbeat\_policy  
ILM Rollover Alias Name: winlogbeat-alias  
Index Pattern: winlogbeat-\*  
Winlogbeat initial index: winlogbeat-000001

---

<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 6, 2020, 1:42pm UTC](https://discuss.elastic.co/t/how-to-import-winlogbeat-index-template-when-using-ilm-and-logstash/218354/2 "2020-03-06T13:42:34Z")

</div>

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