Alerting

creating alert for alert

Puvi
New Member

hi,

i have a panel with all the alert details in it.
now i want to create a separate alert for that panel like (if alerts are triggering within 10 mins span)
can you help me in this?

Tags (3)
0 Karma

woodcock
Esteemed Legend

You can get a list of all non-expired alerts like this:

| rest/servicesNS/-/-alerts/fired_alerts/-
| table trigger_time author eai:acl.owner eai:acl.app savedsearch_name sid eai:acl.sharing digets_mode id published *
| rename eai:acl.* AS *
| where trigger_time >= relative_time(now(), "-10m@m")
0 Karma

arjunpkishore5
Motivator

This should help you get started

index=_audit action="alert_fired" 
| rename ss_name AS alert_name
| sort alert_name, _time
| delta _time as timediff
| streamstats count as rownum by alert_name reset_on_change=true
| eval timediff=if(rownum==1, null(), abs(timediff))
| where timediff<600

This will give you all alerts which triggered less than 10 mins apart.

hope this helps

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

Industry Solutions for Supply Chain and OT, Amazon Use Cases, Plus More New Articles ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...