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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...