Splunk Search

What is the difference between earliest/latest and starttimeu/endtimeu?

dougmartin
Path Finder

In my case I was using the map command with starttimeu/endtimeu but I'm not sure WHY i'm using those in the subquery rather than earliest/latests which I use in the initial query.

So when should I use one vs the other?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Starttimeu and endtimeu are deprecated keywords for specifying a timestamp in Unix epoch (integer) form. Earliest and latest, of course, expect string arguments. Since starttimeu and endtimeu may disappear in a future release, they should be avoided.

I have not done a lot with the map command so it's not clear if one can substitute earliest for starttimeu.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

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 ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...