Fixed typos in examples. Closes #issue-43.
Original commit: elastic/x-pack-elasticsearch@c76c012f3d
This commit is contained in:
parent
af1aaddfb1
commit
aaf4cb5288
|
@ -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}}\"}}}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue