Skip to content

Commit

Permalink
Correctly retrieve number of hits in 7.5 (#50612)
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Kelbert authored and martijnvg committed Jan 14, 2020
1 parent 08e553c commit 62b1d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/docs/en/watcher/actions/email.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ the watch payload in the email body:
"email" : { <2>
"to" : "username@example.org", <3>
"subject" : "Watcher Notification", <4>
"body" : "{{ctx.payload.hits.total.value}} error logs found" <5>
"body" : "{{ctx.payload.hits.total}} error logs found" <5>
}
}
}
Expand Down

0 comments on commit 62b1d9c

Please sign in to comment.