Splunk Search

How can I get a list of all the events fields including their data type (string, number...)?

adilevar
Engager

How can I get a list of all the events fields including their data type?

Tags (3)

somesoni2
Revered Legend

Look at fieldsummary command. This should give good summary of the fields available in the event.

http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Fieldsummary

Adding an eval like this can give it type as well.

your base search | fieldsummary | eval isnumeric=if(isnotnull(min),"Yes","No")
Get Updates on the Splunk Community!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...