Elasticsearch deprecated log - Expected a boolean for property [index] but got [not_analyzed]


(Newbie) #1

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 ?


(Mark Walkom) #2

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

See https://www.elastic.co/guide/en/elasticsearch/reference/5.3/mapping-index.html


(system) #3

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