# How to turn off index management in filebeat.yml

**URL:** <https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 4, 2019, 2:21pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930 "2019-07-04T14:21:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 4, 2019, 2:21pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/1 "2019-07-04T14:21:13Z")

</div>

Using version 7.2.2. Getting error message:

> ERROR instance/beat.go:877 Exiting: Index management requested but the Elasticsearch output is not configured/enabled

But not able to disable index management using **setup.ilm.enabled: false** or **ilm.enabled: false** :

> ```
> #output.elasticsearch:
> # Array of hosts to connect to.
> # hosts: ["parisx:9200"]
> 
> # Optional protocol and basic auth credentials.
> #protocol: "https"
> #username: "elastic"
> #password: "changeme"
> 
> setup.ilm.enabled: false 
> ilm.enabled: false 
> 
> ```
> 
> output.logstash:  
> hosts: ["parisx:5044"]

---

<div class="post-metadata">

**Author:** ![Juanma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanma/32/49076_2.png) [@Juanma](https://discuss.elastic.co/u/Juanma)\
**Post date:** [July 4, 2019, 2:36pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/2 "2019-07-04T14:36:08Z")

</div>

Hello @werowe

I think you just have to comment the ilm configuration lines.

I hope this help. 🙂

---

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 4, 2019, 3:09pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/3 "2019-07-04T15:09:48Z")

</div>

The problem is there are none. So I put in these two to turn off what must be the default behavior.

---

<div class="post-metadata">

**Author:** ![Juanma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanma/32/49076_2.png) [@Juanma](https://discuss.elastic.co/u/Juanma)\
**Post date:** [July 4, 2019, 3:43pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/4 "2019-07-04T15:43:49Z")

</div>

MMmm I have a filebeat 7.2.0 and runs with output kafka without any issue or parameter, from where have you downloaded 7.2.2? 7.2.0 was the latest officialy released [https://www.elastic.co/downloads/beats/filebeat](https://www.elastic.co/downloads/beats/filebeat)

are you sure there is no ilm parameter somewhere?

---

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 4, 2019, 8:06pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/5 "2019-07-04T20:06:31Z")

</div>

7.2.0

**filebeat-7.2.0-amd64.deb**

> sudo grep ilm /etc/filebeat/filebeat.yml
> 
> setup.ilm.enabled: false
> 
> ilm.enabled: false

---

<div class="post-metadata">

**Author:** ![werowe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/werowe/32/47523_2.png) [@werowe](https://discuss.elastic.co/u/werowe)\
**Post date:** [July 4, 2019, 8:10pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/6 "2019-07-04T20:10:10Z")

</div>

I didn't change anything and now its working. Must have been some config cached from some previous version? Never will know.

---

<div class="post-metadata">

**Author:** ![Juanma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juanma/32/49076_2.png) [@Juanma](https://discuss.elastic.co/u/Juanma)\
**Post date:** [July 4, 2019, 8:42pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/7 "2019-07-04T20:42:26Z")

</div>

From what version have you upgraded?

Did you follow the steps from [https://www.elastic.co/guide/en/beats/libbeat/7.2/upgrading.html](https://www.elastic.co/guide/en/beats/libbeat/7.2/upgrading.html) ?

There is a note in the documentation about not upgrade from 6.x to 7.x without upgrade before to 6.7

> . If you’re on Beats 6.0 through 6.6, upgrade the Elastic Stack and Beats to version 6.7 **before** proceeding with the 7.0 upgrade.  
> source: [https://www.elastic.co/guide/en/beats/libbeat/7.2/upgrading-6-to-7.html](https://www.elastic.co/guide/en/beats/libbeat/7.2/upgrading-6-to-7.html)

---

<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:** [August 1, 2019, 8:42pm UTC](https://discuss.elastic.co/t/how-to-turn-off-index-management-in-filebeat-yml/188930/8 "2019-08-01T20:42:28Z")

</div>

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