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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...