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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...