diff --git a/lib/logstash/outputs/elasticsearch/elasticsearch-template.json b/lib/logstash/outputs/elasticsearch/elasticsearch-template.json index 1be0dccd2..0126c7111 100644 --- a/lib/logstash/outputs/elasticsearch/elasticsearch-template.json +++ b/lib/logstash/outputs/elasticsearch/elasticsearch-template.json @@ -11,7 +11,8 @@ "match" : "message", "match_mapping_type" : "string", "mapping" : { - "type" : "string", "index" : "analyzed", "omit_norms" : true + "type" : "string", "index" : "analyzed", "omit_norms" : true, + "fielddata" : { "format" : "disabled" } } } }, { @@ -20,6 +21,7 @@ "match_mapping_type" : "string", "mapping" : { "type" : "string", "index" : "analyzed", "omit_norms" : true, + "fielddata" : { "format" : "disabled" }, "fields" : { "raw" : {"type": "string", "index" : "not_analyzed", "doc_values" : true, "ignore_above" : 256} }