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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...