Reputation: 1
I want to search a specific log every day every 5th minute. And if a specific word is written more than 5 times i want to recieve an email.
What should my alert look like?
Have not been able to try this alert in splunk since the log has not started logging anything yet but i have a feeling im missing something in the alert :P
Upvotes: 0
Views: 104
Reputation: 9916
Try this search
index=foo source=<<my specific log>> "Sign operation. Check Sign Service (dssdc_srv) log"
| stats count
| where count > 5
Have this trigger an alert if the number of results is not zero. The alert action should be an email that says the sentence was found more than five times.
Upvotes: 0