Splunk Search

Custom fields

huaraz
Explorer

How can I check if my custom fields work ? How can I list the content of custom fields ?

Thank you

Markus

Tags (1)
0 Karma
1 Solution

Greg_LeBlanc
Path Finder

They will also be displayed in the "field picker." If the REGEX or DELIM in your props.conf/transforms.conf isn't working properly, then the field won't show up.

If the fields are showing, make sure you click on the field name to display its top values. This will give you a good sense of whether they are being extracted properly.

View solution in original post

0 Karma

huaraz
Explorer

It seems I have an error somewhere as the output is 0 and I don't have the field in the field picker. How can I debug field extraction ?

Markus

0 Karma

Greg_LeBlanc
Path Finder

They will also be displayed in the "field picker." If the REGEX or DELIM in your props.conf/transforms.conf isn't working properly, then the field won't show up.

If the fields are showing, make sure you click on the field name to display its top values. This will give you a good sense of whether they are being extracted properly.

0 Karma

Ayn
Legend

One simple way is to involve your custom fields in some stats command, for instance top:

<yoursearch> | top custom_field
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...