Knowledge Management

DB Connect extracts incomplete values at search time field extraction

bleinfelder
Path Finder

Hi there,

I'm reading events from an MS SQL database using output.format=mkv. Unfortunately field extraction does not work coorectly as some values are truncated at white spaces.

Sample event:

2014-11-27 13:05:08
ERROR_CATEGORY_ID=1
ERROR_CATEGORY_CODE=acc_score_call
ERROR_CATEGORY_DESCRIPTION=Account Score WebService Call
ERROR_TIME=1417089908.600
ERROR_NUMBER=500
ERROR_MESSAGE=CIS SSL connection timeout
ERROR_PROCEDURE=
EXECUTION_CONTEXT=
ERROR_SEVERITY=1
ERROR_STATE=
ERROR_LINE=
DATE_CREATED=1417090213.657

Field extraction extracts for ERROR_MESSAGE and ERROR_CATEGORY_DESCRIPTION the following values:

ERROR_MESSAGE CIS
ERROR_CATEGORY_DESCRIPTION Account

As you can see, the value is truncated at the first blank.

How can we fix this? We notice this behaviour with dbx 1.1.3 as well as with 1.1.5.

Thanks for your help.

Regards,

Bernd

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

it's because you have spaces in the fields. A different output format might work.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...