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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...