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!

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