# How to get rid of the "\[\_all\] is deprecated in 6.0+" warning message?

**URL:** <https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621>\
**Category:** Elasticsearch\
**Created:** [October 30, 2018, 10:39am UTC](https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621 "2018-10-30T10:39:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TimWard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timward/32/19574_2.png) [@TimWard](https://discuss.elastic.co/u/TimWard)\
**Post date:** [October 30, 2018, 10:39am UTC](https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621/1 "2018-10-30T10:39:08Z")

</div>

Running 6.4.2.

I get loads of these WARN messages in the deprecation log. As far as I can see the only mention of "\_all" in any of my code is

`"_all": { "enabled": false }`

in a global template.

What do I need to do to get rid of these warnings?

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [November 2, 2018, 2:40pm UTC](https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621/2 "2018-11-02T14:40:11Z")

</div>

I believe you just need to remove that section from the template. Since `_all` is deprecated you don't need to specify that it is disabled anymore.

---

<div class="post-metadata">

**Author:** ![TimWard](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timward/32/19574_2.png) [@TimWard](https://discuss.elastic.co/u/TimWard)\
**Post date:** [November 2, 2018, 3:07pm UTC](https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621/3 "2018-11-02T15:07:06Z")

</div>

I'm afraid that sounds implausible, as surely it'll only look at that template when it creates a new index, which for me is daily or monthly?

The messages are being produced in batches every few minutes.

GET index/\_settings on a sample index contains no mention of "\_all", so it doesn't look like something that gets copied from the template to the index.

However I've tried it and we'll see what happens.

---

<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:** [November 30, 2018, 3:07pm UTC](https://discuss.elastic.co/t/how-to-get-rid-of-the-all-is-deprecated-in-6-0-warning-message/154621/4 "2018-11-30T15:07:08Z")

</div>

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