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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...