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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...