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 | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...