Splunk Search

using stats function to return latest value but need associated timestamp of that value

erhksadhwani
New Member

stats latest(sequence)returns the latest sequence number but I need to display the associated timestamp when the sequence number was received.

Tags (1)
0 Karma

rjthibod
Champion

just add latest(_time) as _time

stats latest(_time) as _time latest(sequence)

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...