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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...