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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...