I want to query for the number of times a phrase shows up in the default message field. I understand how to count the number of messages it shows up in, but this phrase can show up multiple times within the same message. This is due to the way our server batches log writing.
How would I go about doing this?
Eg. I have a phrase "some phrase to count", and I want to count the total number of times it appears in the logs, even within the same message.
Please sign in to leave a comment.