curl -XPUT http://localhost:9200/_template/template_1 -d ‘ { "template" :"logstash*", "order" : 0, "settings" : { "number_of_shards" : 5 }, "mappings" : { "fluentd" : { "properties":{ "request_dir" :{"type":"string","index" :"not_analyzed"}, "http_user_agent" : {"type" : "string","index" :"not_analyzed" } } } } } ‘
elasticksearch分词,导致kibana的url出现问题
原文:http://www.cnblogs.com/redheat/p/7069472.html