Reporting

How do I include earliest and latest for a saved search I need to run every day at 8pm CST?

sravankaripe
Communicator

I need run the saved search every day at 8pm CST. How can I include earliest and latest in the search?

0 Karma
1 Solution

somesoni2
Revered Legend

Include earliest=XXX latest=YYY in the search string.

e.g.

index=_internal sourcetype=splunkd earliest=-24h@h latest=@h

View solution in original post

somesoni2
Revered Legend

Include earliest=XXX latest=YYY in the search string.

e.g.

index=_internal sourcetype=splunkd earliest=-24h@h latest=@h

sravankaripe
Communicator

what is the value i have to keep for 8pm earliest=? latest=?

0 Karma

somesoni2
Revered Legend

If you want to run a report at 8pm don't you need a cron schedule to handle that? The earliest and latest are the time range upon which your saved search will run. What is the requirement for your search (e.g. search should check last 24 hr data and do....)

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...