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 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...