Skip to content

Commit ca49cc0

Browse files
Fixed params
1 parent 3af6444 commit ca49cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explore-analyze/alerts-cases/watcher/input-http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ For example, the following snippet uses templates to specify what index to query
142142
"host" : "host.domain",
143143
"port" : 9200,
144144
"path" : "/{{ctx.watch_id}}/_search",
145-
"body" : "{\"query\" : {\"range\": {\"@timestamp\" : {\"from\": \"{{ctx.trigger.triggered_time}}||-5m\",\"to\": \"{{ctx.trigger.triggered_time}}\"}}}}"
145+
"body" : "{\"query\" : {\"range\": {\"@timestamp\" : {\"gte\": \"{{ctx.trigger.triggered_time}}||-5m\",\"lte\": \"{{ctx.trigger.triggered_time}}\"}}}}"
146146
}
147147
}
148148
}

0 commit comments

Comments
 (0)