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

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...