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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...