# Setting index.mapper.dynamic was removed after version 6.0.0

**URL:** <https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776>\
**Category:** Elasticsearch\
**Created:** [May 6, 2019, 1:08pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776 "2019-05-06T13:08:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sascha\_a](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@sascha\_a](https://discuss.elastic.co/u/sascha_a)\
**Post date:** [May 6, 2019, 1:08pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776/1 "2019-05-06T13:08:58Z")

</div>

Hello,

we have trouble after elasticsearch 7.0.1 upgrade (from 6.7).  
The cluster itself exists since version 5.4 or even earlier always rolling upgrading.

It always complains about:

"Setting index.mapper.dynamic was removed after version 6.0.0"

this does happen it seems on every index create and also breaks kibana ([https://github.com/elastic/kibana/issues/36000](https://github.com/elastic/kibana/issues/36000))

we tried to remove the settings:

```auto
curl -X PUT "10.0.2.1:9200/_settings" -H 'Content-Type: application/json' -d'
{
  "index.mapper.dynamic":null
}
'
{"acknowledged":true}

```

which is acked, but it still doesnt work out to create indexes.

```auto
curl -X PUT "10.0.2.1:9200/twitter"

{"error":{"root_cause":[{"type":"remote_transport_exception","reason":"[search-6][172.18.0.2:9300][indices:admin/create]"}],"type":"illegal_argument_exception","reason":"Setting index.mapper.dynamic was removed after version 6.0.0"},"status":400}`

```

/\_settings  
doesnt say anthing about index.mapper.dynamic, also theres nothing in the env for the servers..

please help out asap, we need kibana running in our cluster ! ☹

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 6, 2019, 2:25pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776/2 "2019-05-06T14:25:11Z")

</div>

> [@sascha\_a](#):
>
> /\_settings  
> doesnt say anthing about index.mapper.dynamic, also theres nothing in the env for the servers..

Is it mentioned in an index template? I.e. do you see this setting mentioned anywhere in the output of `curl "10.0.2.1:9200/_template?pretty&flat_settings"`?

---

<div class="post-metadata">

**Author:** ![sascha\_a](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@sascha\_a](https://discuss.elastic.co/u/sascha_a)\
**Post date:** [May 6, 2019, 5:07pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776/3 "2019-05-06T17:07:16Z")

</div>

hey @DavidTurner

thanks for the prompt answer!

We getting closer, yes it is:

```
curl -s "10.0.2.1:9200/_template?pretty&flat_settings" | grep mapper
      "index.mapper.dynamic" : "false"
      "index.mapper.dynamic" : "false",
      "index.mapper.dynamic" : "false",

```

![grafik](https://us1.discourse-cdn.com/elastic/original/3X/e/b/eb1fbb0fcb74c0c56534e2228e55fe3e62d15ba5.png)  
how to get rid of it?

---

<div class="post-metadata">

**Author:** ![sascha\_a](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@sascha\_a](https://discuss.elastic.co/u/sascha_a)\
**Post date:** [May 6, 2019, 5:36pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776/4 "2019-05-06T17:36:56Z")

</div>

solved it by deleting those templates.

anyways should this not somehow mentioned in the upgrade process or did it miss it? especially the template part was important..

---

<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:** [June 3, 2019, 5:37pm UTC](https://discuss.elastic.co/t/setting-index-mapper-dynamic-was-removed-after-version-6-0-0/179776/5 "2019-06-03T17:37:06Z")

</div>

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