Skip to content

Commit 62b1d9c

Browse files
Florian Kelbertmartijnvg
authored andcommitted
Correctly retrieve number of hits in 7.5 (#50612)
1 parent 08e553c commit 62b1d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/docs/en/watcher/actions/email.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ the watch payload in the email body:
3131
"email" : { <2>
3232
"to" : "[email protected]", <3>
3333
"subject" : "Watcher Notification", <4>
34-
"body" : "{{ctx.payload.hits.total.value}} error logs found" <5>
34+
"body" : "{{ctx.payload.hits.total}} error logs found" <5>
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)