Splunk Search

How to list all values of an Extracted Field?

asarran
Path Finder

Good Morning, Fellow Splunkers

I'm looking to list all events of an extracted field one time.

Example:

Extracted Field= [Direction]

However, I don't know all the possible outcomes, so I would like to list out all the values

North
West
South East
North East
East

Does anyone have an idea how I can generate this list for further reports?

Thank You,

1 Solution

masonmorales
Influencer
 base search | stats values(yourfield)

 base search | stats count by yourfield | table yourfield 

View solution in original post

masonmorales
Influencer
 base search | stats values(yourfield)

 base search | stats count by yourfield | table yourfield 

sundareshr
Legend

Couple of options

 base search | table fieldName | dedup fieldName

*OR*

base search | stats count by fieldName
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 ...