Splunk Enterprise

How to get splunk app alert trigger report?

Abhineet
Loves-to-Learn Everything

Hi, 

Looking to get 1 month report for all alert generated from a splunk app.

My "FSS" app have around 60 alerts configured. want to generate report in last one month which all alert get triggered by splunk with date time.

 

Thanks

Abhineet Kumar

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There is a REST endpoint that returns all fired alerts (/servicesNS/-/-/alerts/fired), but it doesn't say when the alert fired.  You have to query each alert separately to get that.

Another way is to search the scheduler log like this

index=_internal sourcetype=scheduler thread_id="AlertNotifier*" NOT alert_actions IN ("summary_index" "") app=FSS earliest=-30d
---
If this reply helps you, Karma would be appreciated.
0 Karma

Abhineet
Loves-to-Learn Everything

Thanks rich... It helps and solve my problem...

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If your problem is resolved, then please click the "Accept as Solution" button to help future readers.

---
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...