Here is my current search in Jboss Logs:
index=jboss_app CLASS="foo.bar.bas.classname" MESSAGE="Error doing the thing bob wants to do" OR MESSAGE="Error doing the thing joe wants to do"|stats count by MESSAGE |sort - count
Results show
Error doing the thing for **bob** :
[email protected] AccountNumber01: 4920406079372 13
Error doing the thing for **bob** :
[email protected] AccountNumber01: 4079379507040 12
Error doing the thing for **joe** :
[email protected] AccountNumber01: 1040683729965 11
Error doing the thing for **joe** :
[email protected] AccountNumber01: 60284967030205 10
The results I want are to simply count how many results show "Error doing the thing for bob" and "Error doing the thing for joe" and list it as such. Just need to count how many for each.
Thanks!
... View more