How to count two different message and put the value in an email in Watcher

I have a watcher with query like this
{ "match_phrase": { "message": { "query": "INITIAL" } } }
I want have another query
{ "match_phrase": { "message": { "query": "FINAL" } } }
I want have a total count of each messages and send it via email like this

INITIAL 2

FINAL 3

Please help

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.