diff --git a/watcher/docs/reference/input/http.asciidoc b/watcher/docs/reference/input/http.asciidoc index dd562612fb6..aa46d859c01 100644 --- a/watcher/docs/reference/input/http.asciidoc +++ b/watcher/docs/reference/input/http.asciidoc @@ -84,7 +84,7 @@ You can use the full Elasticsearch {ref}/query-dsl.html[Query DSL] to perform mo "host" : "host.domain", "port" : 9200, "path" : "/idx/_search", - "body" : "\"query\" : { \"match\" : { \"category\" : \"event\"}" + "body" : "{\"query\" : { \"match\" : { \"category\" : \"event\"}}}" } } } @@ -107,7 +107,7 @@ within the last five minutes. "host" : "host.domain", "port" : 9200, "path" : "/{{ctx.watch_id}}/_search", - "body" : "\"query\" : {\"range\": {\"@timestamp\" : {\"from\": \"{{ctx.trigger.triggered_time}}||-5m\",\"to\": \"{{ctx.trigger.triggered_time}}\"}}}" + "body" : "{\"query\" : {\"range\": {\"@timestamp\" : {\"from\": \"{{ctx.trigger.triggered_time}}||-5m\",\"to\": \"{{ctx.trigger.triggered_time}}\"}}}}" } } }