summaryrefslogtreecommitdiff
path: root/elastic/templates/visualization-searchSourceJSON.mustache
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-04-27 20:06:09 +0200
committerdrebs <drebs@riseup.net>2017-05-05 09:17:34 +0200
commitab04840d828aa5216911f711577077561208569a (patch)
tree68871774aa5036dca056cc3fad4ad66315f4c792 /elastic/templates/visualization-searchSourceJSON.mustache
parentf0190a962e5f6ad81898652978bd5a8cfb3c4c51 (diff)
[elastic] use multiple mustache templates
Diffstat (limited to 'elastic/templates/visualization-searchSourceJSON.mustache')
-rw-r--r--elastic/templates/visualization-searchSourceJSON.mustache23
1 files changed, 23 insertions, 0 deletions
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*"
+}