Skip to content

Commit 6cec386

Browse files
sachinfrayneChristoph Büscher
authored andcommitted
[Docs] Fix json syntax in watcher compare condition (elastic#44032)
1 parent 464598f commit 6cec386

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

x-pack/docs/en/watcher/condition/compare.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ search result>> is greater than or equal to 5:
4646
"ctx.payload.hits.total.value" : { <1>
4747
"gte" : 5 <2>
4848
}
49+
}
4950
}
5051
}
5152
--------------------------------------------------
@@ -66,6 +67,7 @@ of the form `<{expression}>`. For example, the following expression returns
6667
"ctx.execution_time" : {
6768
"gte" : "<{now-5m}>"
6869
}
70+
}
6971
}
7072
}
7173
--------------------------------------------------
@@ -84,6 +86,7 @@ to the `ctx.payload.aggregations.handled.buckets.true.doc_count`:
8486
"ctx.payload.aggregations.status.buckets.error.doc_count" : {
8587
"not_eq" : "{{ctx.payload.aggregations.handled.buckets.true.doc_count}}"
8688
}
89+
}
8790
}
8891
}
8992
--------------------------------------------------

0 commit comments

Comments
 (0)