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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...