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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...