It's a new week, and seemingly randomly, this week's log index is failing to be created.
Logged from filebeat is:
{"type":"mapper_parsing_exception","reason":"Failed to parse mapping [doc]: Mapping definition for [message] has unsupported parameters: [ignore_above : 1024]","caused_by":{"type":"mapper_parsing_exception","reason":"Mapping definition for [message] has unsupported parameters: [ignore_above : 1024]"}}
I've checked and have 3 (identical-looking) index templates, as has been the case for a few months without issue. The filebeat version is a little out of date (6.3.2), but has been working fine up to this point.
The "message" property seems to potentially be covered in the template in two ways:
Dynamic template mapping:
"strings_as_keyword": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string"
}
General field mapping:
"message": {
"type": "text",
"norms": false
},
I'm just using the "raw JSON" mode for sending the contents of text files with one JSON document per row to ES, so it's not an app-specific type of document.
All I can think is that the general field mapping is only overriding the "type" and "norms" prop or something? The dynamic template may be a red herring, I don't know...
But how can I diagnose and fix this issue? A few 100ks of events are queuing up
Any help appreciated..
Edit: the response to GET /_template: https://gist.github.com/kierenj/a91df51630b1d06798a105e7a66eb5dd . Index name is filebeat-rr-logs-6.3.2-2018.44 (or would be, if it would create)