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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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