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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...