# ILM setting in beats configuration

**URL:** <https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 1, 2019, 8:57pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257 "2019-05-01T20:57:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [May 1, 2019, 8:57pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/1 "2019-05-01T20:57:11Z")

</div>

Hi

I am seeing ilm errors in my Elastic search. I am currently using beats 6.7 version.  
I am planning to install version 7 now. I got to know that filebeat has to create an alias while creating an index.

I see the below configuration in Filebeatreferance.yml but not in filebeat.yml file.

So if this setting is not mentioned in filebeat.yml does it create default alias name as filebeat.versionname in version 7.

```
#============================== Setup ILM =====================================

# Configure Index Lifecycle Management Index Lifecycle Management creates a
# write alias and adds additional settings to the template.
# The elasticsearch.output.index setting will be replaced with the write alias
# if ILM is enabled.

# Enabled ILM support. Valid values are true, false, and auto. The beat will
# detect availabilty of Index Lifecycle Management in Elasticsearch and enable
# or disable ILM support.
setup.ilm.enabled: auto

# Configure the ILM write alias name.
setup.ilm.rollover_alias: "filebeat"

# Configure rollover index pattern.
setup.ilm.pattern: "{now/d}-000001"
```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 1, 2019, 9:01pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/2 "2019-05-01T21:01:12Z")

</div>

> [@syedsfayaz](#):
>
> So if this setting is not mentioned in filebeat.yml does it create default alias name as filebeat.versionname in version 7.

No, you need to copy over the settings into the `filebeat.yml` for them to be applied.

---

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [May 1, 2019, 9:03pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/3 "2019-05-01T21:03:02Z")

</div>

Thanks for the quick reply. Why is it not mentioned as default in filebeat.yml file as other configurations.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 1, 2019, 9:55pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/4 "2019-05-01T21:55:17Z")

</div>

We put a basic set of config options in the default `filebeat.yml` and everything in the reference file.

If you'd like to see the ILM config in the default config file then please feel free to raise a feature request on GitHub 🙂

---

<div class="post-metadata">

**Author:** ![syedsfayaz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/syedsfayaz/32/46657_2.png) [@syedsfayaz](https://discuss.elastic.co/u/syedsfayaz)\
**Post date:** [May 1, 2019, 9:56pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/5 "2019-05-01T21:56:43Z")

</div>

Sure, Thank you.

---

<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:** [May 29, 2019, 10:02pm UTC](https://discuss.elastic.co/t/ilm-setting-in-beats-configuration/179257/6 "2019-05-29T22:02:10Z")

</div>

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