Alerting

Triggering an alert on alerts (Alert-on-Alerts)

cafey
New Member

Is there a way in splunk to alert on number of alerts ?

For example I want create an alert which attempts to search 6 login into a server. Assuming this runs every 1 min (thats arbitrary number) and fires an alert called Alert-A. I want to fire an alert B if 5 Alert-A have triggered in last 5 mins.

I am not looking for solution where in you want to suggest, "why not create a search and alert if 6*5 login attempts have been made on server.

My question is specific to triggering an alert on other alert.

0 Karma
1 Solution

Yasaswy
Contributor

Hi, you should be able to pull up fired alerts from REST a call and schedule a search on it and trigger an alert on alerts. eg:

    |rest /services/alerts/fired_alerts/name|search|where triggered_alert_count > 5| table id triggered_alert_count

Alerts URI reference

View solution in original post

Yasaswy
Contributor

Hi, you should be able to pull up fired alerts from REST a call and schedule a search on it and trigger an alert on alerts. eg:

    |rest /services/alerts/fired_alerts/name|search|where triggered_alert_count > 5| table id triggered_alert_count

Alerts URI reference

mmaqbool
Explorer

This might be a bit old thread, but I would be very thankful if you could explain the SPL expression in a bit non-technical fashion for a new user like me. Specifically, what its different parts are doing. Many thanks

0 Karma

cafey
New Member

Perfect this is what I was looking for !! Thanks a bunch there !!!

0 Karma

stepheneardley
Path Finder

Exactly what I was after 🙂

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...