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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...