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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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