Reporting

Display list of scheduled report and number of rows

spammenot66
Contributor

Is there a way to get list of scheduled report and get the following:
1) when report was last ran,
2) display number of rows returned per report?

0 Karma

Manoj_g
New Member

@spammenot66

Try this
* index=_internal sourcetype=scheduler savedsearch_id=* status=* | timechart span=5m count by status
* index=_internal sourcetype=scheduler savedsearch_id=* status=* | stats count by reason
* index=_internal sourcetype=scheduler savedsearch_name=* status=success |stats  count by  savedsearch_name, scheduled_time | search count>1

0 Karma

somesoni2
Revered Legend

Do you want list of all scheduled reports (and alerts) or just the one which are currently active?

0 Karma

renjith_nair
Legend

@spammenot66,

Try

  index=_internal source="*scheduler.log" savedsearch_id=* 
Happy Splunking!
0 Karma

pradeepkumarg
Influencer

index=_internal sourcetype=scheduler status=success | table _time savedsearch_name result_count

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 ...