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.
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...