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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...