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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...