Splunk Search

Triggered Alerts Results

abhi22
New Member

Hello,

I'm looking to get the triggered alert results with alert name and triggered time in one table. Being very simple

Column 1 triggered alert name

Column 2 triggered time

Column 3 Results of the triggered alert

Could anyone help me with this

Thanks in Advance

Labels (1)
Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

We need more information.  Based on what's in the question, the best we can offer is 

<some search> 
| table AlertName _time AlertResults

Tell us more about the data and we may be able to add some details.

---
If this reply helps you, Karma would be appreciated.
0 Karma

abhi22
New Member

Hello Richgalloway,

I am trying to get the Trigger Alerts dashboard which will show the Alerts which are triggered, I am able to achieve the same using below search query:
index=_audit action=alert_fired ss_app=* | eval ttl=expiration-now() | search ttl>0 | convert ctime(trigger_time) | table trigger_time ss_name severity | rename trigger_time as "Alert Time" ss_name as "Alert Name" severity as "Severity" , Apart from this in another column I also need the results of the triggered alert (events which caused the alert to trigger) or the link which directs to the results of that particular alert . Could you please suggest me on this

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Alert results are not available via SPL because they are not indexed nor does any REST command expose them.

---
If this reply helps you, Karma would be appreciated.
0 Karma

abhi22
New Member

Thank you,

At least when we click on the alert in the dashboard, it should redirect to the results/events which triggered the alert, please suggest if the above is possible and how we can achieve the same

0 Karma

richgalloway
SplunkTrust
SplunkTrust
I don't have a suggestion other than to use the built-in Triggered Alerts dashboard.
---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...