We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cfb4e commit 62631f8Copy full SHA for 62631f8
docs/reference/watcher/input/http.asciidoc
@@ -177,7 +177,7 @@ and restrict the results to documents added within the last five minutes:
177
"host" : "host.domain",
178
"port" : 9200,
179
"path" : "/{{ctx.watch_id}}/_search",
180
- "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}}\"}}}}"
181
}
182
183
0 commit comments