Monitoring Splunk

How to write query for analytics of reports and alerts?

gitingua
Communicator

Dear Colleagues 

Help write a query to get data about all reports and alerts 

I need to get information e.g.
1. Execution time of each report and alert
2. How much does a completed report and alerts

and stuff like that
tried to find information in the monitoring console

But did not find information about each report and alert

I will be grateful !

0 Karma

woodcock
Esteemed Legend

Settings -> Monitoring Console -> Search -> Activity -> Search Activity: Deployment

0 Karma

gitingua
Communicator

@woodcock 
Hi!

I see their information only about the searches themselves 

I need analytics about reports and alerts 

thanks for your reply!)

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @gitingua ,

using the following search using REST API

| rest /servicesNS/-/MYAPP/saved/searches

you list all the savedsearches you have in your Splunk Environment.

Then you can filter them for status (enabled or disables) if they are alerts or reports, etc... and then you can define which information display (e.g. title, search, status, etc...=

Ciao.

Giuseppe

0 Karma

gitingua
Communicator

Hi @gcusello 
I looked at your example 
But that's not what I was looking for
I need report and alert analytics.

Eg:
average run time and stuff like that

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @gitingua,

using my search you have the list of all reports and alerts.

Then, as @woodcock hinted, using tye Monitoring Console, you have alla the information about reports and alerts executions.

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...