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!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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