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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...