Create custom mappings cat << EOF > graylog-custom-mapping.json { "template": "graylog_*", "mappings" : { "message" : { "properties" : { "MessageParam0" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam1" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam2" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam3" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam5" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam6" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam7" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam8" : { "type" : "string", "index" : "not_analyzed" }, "MessageParam9" : { "type" : "string", "index" : "not_analyzed" } } } } } EOF Apply custom mappings for Graylog to elasticsearch curl -X PUT -d @'graylog-custom-mapping.json' 'http://elasticsearch-server:9200/_template/graylog-custom-mapping?pretty'