Fixed typos in examples. Closes #issue-43.

Original commit: elastic/x-pack-elasticsearch@c76c012f3d
This commit is contained in:
debadair 2015-07-15 14:17:48 -07:00
parent af1aaddfb1
commit aaf4cb5288
1 changed files with 2 additions and 2 deletions

View File

@ -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}}\"}}}}"
}
}
}