Reporting

how to run a report on a certain schedule?

mahsa_m
New Member

Hi,

I want to run a search in the time range 7AM today to 7AM the day after everyday. The servers on which my splunk is running is in GMT.
Here is my config in savedsearches.conf

cron_schedule = 02 7 * * *
dispatch.earliest_time = -1d
dispatch.latest_time = now

it runs for 12AM today till 12AM the day after. How can I change it to run from 7AM to 7AM?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try these settings.

cron_schedule = 02 7 * * *
dispatch.earliest_time = -1d@d+7h
dispatch.latest_time = @d+7h
---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...