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!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...