Splunk Search

Counting how many times alerts have been triggered

ajmills
New Member

Hello--

For comparison purposes I'd like to determine how many times each of our alerts have been triggered. Is this information available somewhere, hopefully via a search?

Thanks a lot

Tags (1)
0 Karma

jtrucks
Splunk Employee
Splunk Employee

As I wrote in another post:

You can start with searching for the _internal index for alert_actions field data:

index=_internal alert_actions="*"

This will get you the raw data.

To count the times an alert has been triggered and get a list of which searches they are, use:

index=_internal alert_actions="*" | top alert_actions,savedsearch_name limit=0

Cheers,
Jesse

--
Jesse Trucks
Minister of Magic
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...