bunyan-elasticsearch icon indicating copy to clipboard operation
bunyan-elasticsearch copied to clipboard

Mapping template `path: full` deprecated

Open tsturzl opened this issue 8 years ago • 1 comments

Seems the [path: full] in Object type mapping is now deprecated.

Elasticsearch Stream Error: [mapper_parsing_exception] Mapping definition for [geoip] has unsupported parameters: [path : full] :: {"path":"/logstash-2016.08.26/api","query":{"op_type":"create"},"body":"{\"name\":\"default\",\"hostname\":\"API-Staging\",\"pid\":8969,\"level\":\"info\",\"v\":0,\"@timestamp\":\"2016-08-26T04:24:17.754Z\",\"message\":\"ApiApps loaded successfully from db!\"}","statusCode":400,"response":"{\"error\":{\"root_cause\":[{\"type\":\"mapper_parsing_exception\",\"reason\":\"Mapping definition for [geoip] has unsupported parameters: [path : full]\"}],\"type\":\"mapper_parsing_exception\",\"reason\":\"Failed to parse mapping [_default_]: Mapping definition for [geoip] has unsupported parameters: [path : full]\",\"caused_by\":{\"type\":\"mapper_parsing_exception\",\"reason\":\"Mapping definition for [geoip] has unsupported parameters: [path : full]\"}},\"status\":400}"}

tsturzl avatar Aug 26 '16 05:08 tsturzl

As said in the other issue, https://github.com/logstash-plugins/logstash-output-elasticsearch/tree/master/lib/logstash/outputs/elasticsearch, includes JSON files for the newer versions of ElasticSearch. Use those templates.

nblasgen avatar May 16 '17 14:05 nblasgen