Alerting

Is there a way to determine how many email alerts are being sent from my Splunk server per hour, day or week?

JoeSco27
Communicator

I have about 100 alerts scheduled to run on different conditions and send emails if those conditions are met. Is there a way to determine how many emails are actually being sent per day/hour/week from my splunk server?

Tags (3)
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Try something like this:

index=_internal sourcetype=scheduler alert_actions=*email* | timechart span=1d sum(fired) as "Emails sent per day"

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Try something like this:

index=_internal sourcetype=scheduler alert_actions=*email* | timechart span=1d sum(fired) as "Emails sent per day"

martin_mueller
SplunkTrust
SplunkTrust

If you don't have per-result alerts then yeah, counting those events will do.

0 Karma

JoeSco27
Communicator

For some reason fired didn't produce the correct results, but the count of events over time worked for us. Thank you for your help.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...