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