All Apps and Add-ons

field extractions with delims

a212830
Champion

Hi,

I'm trying to create some fields using the DELIM option in transforms.conf. My file is whitespace separated, and here are my props/transforms:

props:
[bcoat_proxysg_streaming]
REPORT-main=delimExtractions
TRANSFORMS-sourcetype = nullPound
MAX_TIMESTAMP_LOOKAHEAD = 20
SHOULD_LINEMERGE = false
TZ = UTC

transforms:
[nullPound]
REGEX = ^#
DEST_KEY=queue
FORMAT=nullQueue

[delimExtractions]
DELIMS=" "
FIELDS="date", "time", "c-ip", "cs-username", "sc-filter-result", "cs-method", "cs-uri", "sc-status", "cs(Referer)", "cs-categories", "cs-auth-group", "x-exception-
id", "s-action", "cs(User-Agent)", "x-duration", "sc-bytes", "cs-bytes", "cs-uri-scheme", "cs-host", "cs-uri-port", "cs-uri-path", "cs-uri-query", "cs-uri-extension
", "protocol", "transport", "channelURL"

This looks pretty basic to me, but the fields aren't being shown in the SH. The files are being processed on a HF and sent to an indexer. I put these entries on the HF.

Am I missing something?

Tags (1)
0 Karma
1 Solution

Takajian
Builder

There are two types of field extractions which are search time field extraction and index time field extraction. Your delimExtraction is for search time extraction, not index time. Therefore, you should put it on SH, not HF. Please note that your nullqueue setting is processed in index time, so it should be left on HF. Please try this and confirm if it solve the issue.

View solution in original post

Takajian
Builder

There are two types of field extractions which are search time field extraction and index time field extraction. Your delimExtraction is for search time extraction, not index time. Therefore, you should put it on SH, not HF. Please note that your nullqueue setting is processed in index time, so it should be left on HF. Please try this and confirm if it solve the issue.

a212830
Champion

Worked! Thanks.

0 Karma
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, ...