All Apps and Add-ons

DB Connect Lookup failing, sending NULL to SQL server

arrowecssupport
Communicator

I am using DB connect AddOnn 3.1.3 and my results are not being enriched.
When setting up the DB Connect Lookup wizard,

the "Set Reference Search" returns the suitable fields from the Splunk index
the "Set Lookup SQL" returns the requested fields from the DB
I set up the field mapping by selecting all the right fields.

But when i run the "Preview Results" it does not enrich the data.
I've then done a packet capture and extracted the SQL query being sent to the SQL server and the last line is as follows below.

dbxlookup WHERE "serial" IN (null)

So I'm looking up a serial number, and the value should be from the Splunk search.

"serial" AS "SERIAL_NUM"

^^ So this should copy the value of SERIAL_NUM to serial and then be used in the SQL string to the server. But it's sending null by mistake.

marcoscala
Builder

hI!

Any news about this problem? I've the same issue with a Customer with mySQL and DBX 3.4.2.

 

Regards,

Marco

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...