Skip to content

Commit 62631f8

Browse files
1 parent 07cfb4e commit 62631f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/watcher/input/http.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ and restrict the results to documents added within the last five minutes:
177177
"host" : "host.domain",
178178
"port" : 9200,
179179
"path" : "/{{ctx.watch_id}}/_search",
180-
"body" : "{\"query\" : {\"range\": {\"@timestamp\" : {\"from\": \"{{ctx.trigger.triggered_time}}||-5m\",\"to\": \"{{ctx.trigger.triggered_time}}\"}}}}"
180+
"body" : "{\"query\" : {\"range\": {\"@timestamp\" : {\"gte\": \"{{ctx.trigger.triggered_time}}||-5m\",\"lte\": \"{{ctx.trigger.triggered_time}}\"}}}}"
181181
}
182182
}
183183
}

0 commit comments

Comments
 (0)