Illegal_argument_exception reason Invalid format

{\"key_as_string\":\"2019-01-02T12:46:00.000+08:00\",\"key\":1546404360000,\"doc_count\":1},{\"key_as_string\":\"2019-01-02T13:04:00.000+08:00\",\"key\":1546405440000,\"doc_count\":1},{\"key_as_string\":\"2019-01-02T13:15:00.000+08:00\",\"key\":1546406100000,\"doc_count\":1}]}}},\"attachment\":{}}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"mapper_parsing_exception\",\"reason\":\"failed to parse [payload.hits.hits._source.logtime3]\"}],\"type\":\"mapper_parsing_exception\",\"reason\":\"failed to parse [payload.hits.hits._source.logtime3]\",\"caused_by\":{\"type\":\"illegal_argument_exception\",\"reason\":\"Invalid format: \\\"20190101 19:00:53,442\\\" is malformed at \\\"0101 19:00:53,442\\\"\"}},\"status\":400}"}

already disable date_detection,but still get this error...

PUT my_index
{
  "mappings": {
    "_doc": {
      "date_detection": false
    }
  }
}

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