From f418b9d6aa9a65cd635f34d7d28346bd03fca7cc Mon Sep 17 00:00:00 2001 From: Nastasha Solomon <79124755+nastasha-solomon@users.noreply.github.com> Date: Thu, 20 Nov 2025 11:34:07 -0500 Subject: [PATCH] First draft (#138326) --- docs/reference/watcher/input/http.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/watcher/input/http.asciidoc b/docs/reference/watcher/input/http.asciidoc index ca1738b5952d2..d3c982b742505 100644 --- a/docs/reference/watcher/input/http.asciidoc +++ b/docs/reference/watcher/input/http.asciidoc @@ -177,7 +177,7 @@ and restrict the results to documents added 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\" : {\"gte\": \"{{ctx.trigger.triggered_time}}||-5m\",\"lte\": \"{{ctx.trigger.triggered_time}}\"}}}}" } } }