From ab04840d828aa5216911f711577077561208569a Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 27 Apr 2017 20:06:09 +0200 Subject: [elastic] use multiple mustache templates --- .../visualization-searchSourceJSON.mustache | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 elastic/templates/visualization-searchSourceJSON.mustache (limited to 'elastic/templates/visualization-searchSourceJSON.mustache') diff --git a/elastic/templates/visualization-searchSourceJSON.mustache b/elastic/templates/visualization-searchSourceJSON.mustache new file mode 100644 index 0000000..b04be2c --- /dev/null +++ b/elastic/templates/visualization-searchSourceJSON.mustache @@ -0,0 +1,23 @@ +{ + "filter" : [], + "query" : { + "query_string" : { + "query" : "{{{query}}}", + "analyze_wildcard" : true + } + }, + "highlight" : { + "post_tags" : [ + "@/kibana-highlighted-field@" + ], + "pre_tags" : [ + "@kibana-highlighted-field@" + ], + "fragment_size" : 2147483647, + "fields" : { + "*" : {} + }, + "require_field_match" : false + }, + "index" : "benchmark*" +} -- cgit v1.2.3