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=* 
---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

pradeepkumarg
Influencer

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

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...