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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...