Splunk Search

What is the difference between lastTime and recentTime in a metadata search?

sfmandmdev
Path Finder

What is the difference between lastTime and recentTime in a metadata search?

Tags (1)
1 Solution

Stephen_Sorkin
Splunk Employee
Splunk Employee

The recentTime field represents the most recent timestamp seen for the given source, sourcetype or host, while lastTime represents the latest time ever seen for it.

View solution in original post

sfmandmdev
Path Finder

Thanks Stephen. So just to confirm, recentTime is to most recent event time as lastTime is to most recent indexed time. Is that correct?

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

The second half of your analogy doesn't sound quite right, as lastTime is the latest timestamp in the index.

0 Karma

Stephen_Sorkin
Splunk Employee
Splunk Employee

The recentTime field represents the most recent timestamp seen for the given source, sourcetype or host, while lastTime represents the latest time ever seen for it.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

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