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!

.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 ...