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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...