Splunk Search

Search to display the first instance of a particular field

jsc7
New Member

I have a search which extracts some values into a table including the date. For one of the fields, e.g. src_ip, I want to show the first date that that value (a particular ip address) was seen. All the stats functions I have tried seem to aggregate the values. Is there a way to do what i want? Thanks

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

... | stats earliest(_time) by src_ip

Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...