[Docs] Fix json syntax in watcher compare condition (#44032)

This commit is contained in:
Sachin Frayne 2019-07-09 12:43:18 +01:00 committed by Christoph Büscher
parent 268971db03
commit 389c923a82
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,7 @@ search result>> is greater than or equal to 5:
"ctx.payload.hits.total.value" : { <1>
"gte" : 5 <2>
}
}
}
}
--------------------------------------------------
@ -66,6 +67,7 @@ of the form `<{expression}>`. For example, the following expression returns
"ctx.execution_time" : {
"gte" : "<{now-5m}>"
}
}
}
}
--------------------------------------------------
@ -84,6 +86,7 @@ to the `ctx.payload.aggregations.handled.buckets.true.doc_count`:
"ctx.payload.aggregations.status.buckets.error.doc_count" : {
"not_eq" : "{{ctx.payload.aggregations.handled.buckets.true.doc_count}}"
}
}
}
}
--------------------------------------------------