Splunk Enterprise

How do you schedule a report that needs to run multiple times for different time ranges?

joshiro
Communicator

We have a report that generates data with the `outputlookup` command and we are in need to schedule it multiple times but with different time ranges.
For this report, we want to run it each day but with different time ranges in sequential order.
Each run requires the previous run to finish so it can load the lookup results for the next run.

We cant just schedule a single report that updates the lookup because we need it to run on different time ranges each time it triggers.

Is there any way we can schedule a report to run in this particular way?
We thought about cloning it multiple times and schedule each one of them differently but it is not an ideal solution.

Regards.

Labels (1)
Tags (2)
0 Karma

esalesapns2
Communicator

I'm having the same requirement.  Maybe one way would be to run it from an external program using API calls to kick off the searches and wait for them to complete?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Each scheduled report has a single set of attributes.  If multiple attributes (time range, cron schedule, etc) are needed then the report should be cloned and new attributes set on the copy.

---
If this reply helps you, Karma would be appreciated.

joshiro
Communicator

That is what we thought.
We are looking for a better solution to avoid cloning the report if it is possible.

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...