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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...