Splunk Cloud Platform

Splunk Alerts with no alert actions

python
Explorer

Hi,

How can i query Alerts without alert actions and i want to see also the status. 

Labels (1)
0 Karma

python
Explorer

how about alerts with no triggered actions?

0 Karma

python
Explorer

Thanks a lot. 

richgalloway
SplunkTrust
SplunkTrust

You can query all alerts using this REST command.  Filter the results to find the information you seek.

| rest splunk_server=local /servicesNS/-/-/saved/searches
| search alert_type!="always"
---
If this reply helps you, Karma would be appreciated.

python
Explorer

how about alerts with no triggered actions?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

To find alerts that have not triggered, try this query

| rest /servicesNS/-/-/saved/searches splunk_server=local
| fields title disabled triggered_alert_count alert.severity alert.track eai:acl.app
| rename alert.track as isAlert, eai:acl.app as App
| eval TriggerCount=coalesce(triggered_alert_count, 0)
| where disabled=0 AND TriggerCount=0 AND isAlert=1
| table title alert.severity App
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...