# Elasticsearch deprecated log - Expected a boolean for property \[index\] but got \[not\_analyzed\]

**URL:** <https://discuss.elastic.co/t/elasticsearch-deprecated-log-expected-a-boolean-for-property-index-but-got-not-analyzed/84232>\
**Category:** Elasticsearch\
**Created:** [May 2, 2017, 9:58am UTC](https://discuss.elastic.co/t/elasticsearch-deprecated-log-expected-a-boolean-for-property-index-but-got-not-analyzed/84232 "2017-05-02T09:58:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beuhlet\_Reseau](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Beuhlet\_Reseau](https://discuss.elastic.co/u/Beuhlet_Reseau)\
**Post date:** [May 2, 2017, 9:58am UTC](https://discuss.elastic.co/t/elasticsearch-deprecated-log-expected-a-boolean-for-property-index-but-got-not-analyzed/84232/1 "2017-05-02T09:58:34Z")

</div>

Hello,

I upload data in my node and i believe at each index elasticsearch return me this error message in elasticsearch\_deprecated log :

```
2017-05-02T11:32:22,082][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,082][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,082][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,083][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,083][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,083][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,083][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,083][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,084][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:22,084][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,600][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,600][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,601][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,602][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,602][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,602][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]
[2017-05-02T11:32:38,602][WARN][o.e.d.i.m.TypeParsers] Expected a boolean for property [index] but got [not_analyzed]

```

Hummmm, i use this template for my data :

```
"template_data": {
    "order": 0,
    "version": 50001,
    "template": "edr-*",
    "settings": {
      "index": {
        "refresh_interval": "300s",
        "number_of_shards": "2",
        "translog": {
          "sync_interval": "5s",
          "durability": "async"
        },
        "number_of_replicas": "0"
      }
    },
    "mappings": {
      "_default_": {
        "dynamic_templates": [
          {
            "string_fields": {
              "mapping": {
                "norms": false,
                "type": "text",
                "fields": {
                  "keyword": {
                    "index": "not_analyzed",
                    "type": "keyword"
                  }
                }
              },
              "match_mapping_type": "string",
              "match": "*"
            }
          }
        ],
        "_all": {
          "norms": false,
          "enabled": true
        },
        "properties": {
          "edr_GrantedTotalOctets": {
            "type": "long"
          },
          "edr_MN": {
            "type": "long"
          },
          "edr_Usectets": {
            "type": "long"
          },
          "geoip": {
            "enabled": false
          },
          "edr_ModFlag": {
            "type": "byte"
          },
          "input_type": {
            "enabled": false
          },
          "edr_UsaLimit": {
            "type": "long"
          },
          "edr_Jaomer": {
            "type": "byte"
          },
          "@timestamp": {
            "include_in_all": false,
            "type": "date"
          },
          "edr_SubrId": {
            "type": "long"
          },
          "beat": {
            "enabled": false
          },
          "@version": {
            "include_in_all": false,
            "type": "keyword"
          },
          "name": {
            "enabled": false
          },
          "host": {
            "enabled": false
          },
          "edr_MDN": {
            "type": "long"
          },
          "edr_PaolFlag": {
            "type": "byte"
          },
          "edr_MC": {
            "type": "integer"
          },
          "edr_EI": {
            "type": "long"
          }
        }
      }
    },
    "aliases": {}
  }

```

Do you think its appears about template ?

---

<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 2, 2017, 10:30am UTC](https://discuss.elastic.co/t/elasticsearch-deprecated-log-expected-a-boolean-for-property-index-but-got-not-analyzed/84232/2 "2017-05-02T10:30:27Z")

</div>

It's not an error, it's a deprecation warning.

See [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-index.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-index.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:** [May 30, 2017, 10:38am UTC](https://discuss.elastic.co/t/elasticsearch-deprecated-log-expected-a-boolean-for-property-index-but-got-not-analyzed/84232/3 "2017-05-30T10:38:16Z")

</div>

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