Splunk Search

index field list

cyberpop
New Member

I have a index, I want to know all display fields list and field description for this index without running the search,  where in splunk enterprise security, can we find this info?

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @cyberpop,

Splunk isn't a DB, so there isn't a list of fields related to an index, in other words, an index isn't a table!

So in Splunk fields extraction is ususally related to sourcetype, so you could try to see in [Settings -- Sourcetypes] if there is the list of the fields extractions, but it could be not sufficient, because if in your logs, theres something like "field=value", there's no field extraction and Splunk automatically recognize a field.

In conclusion, the only way to have the field list is to run a search like this:

index=your_index
| table *
| transpose
| table column

Ciao.

Giuseppe

0 Karma

FrankVl
Ultra Champion

In addition to @gcusello  his comment, you can also use the '| fieldsummary' command to get a summary of all fields extracted from the events in a certain index.

index=your_index | fieldsummary

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 ...