<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DB Connect Lookup failing, sending NULL to SQL server in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-Lookup-failing-sending-NULL-to-SQL-server/m-p/559244#M66073</link>
    <description>&lt;P&gt;hI!&lt;/P&gt;&lt;P&gt;Any news about this problem? I've the same issue with a Customer with mySQL and DBX&amp;nbsp;&lt;SPAN&gt;3.4.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 10:17:17 GMT</pubDate>
    <dc:creator>marcoscala</dc:creator>
    <dc:date>2021-07-13T10:17:17Z</dc:date>
    <item>
      <title>DB Connect Lookup failing, sending NULL to SQL server</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-Lookup-failing-sending-NULL-to-SQL-server/m-p/478547#M58771</link>
      <description>&lt;P&gt;I am using DB connect AddOnn 3.1.3 and my results are not being enriched.&lt;BR /&gt;
When setting up the DB Connect Lookup wizard,&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;the "Set Reference Search" returns the suitable fields from the Splunk index&lt;BR /&gt;
the  "Set Lookup SQL" returns the requested fields from the DB&lt;BR /&gt;
I set up the field mapping by selecting all the right fields. &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;But when i run the "Preview Results" it does not enrich the data. &lt;BR /&gt;
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.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dbxlookup WHERE "serial" IN (null)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So I'm looking up  a  serial number, and the value should be from the Splunk search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"serial" AS "SERIAL_NUM"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;^^ 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. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 17:25:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-Lookup-failing-sending-NULL-to-SQL-server/m-p/478547#M58771</guid>
      <dc:creator>arrowecssupport</dc:creator>
      <dc:date>2020-02-24T17:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect Lookup failing, sending NULL to SQL server</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-Lookup-failing-sending-NULL-to-SQL-server/m-p/559244#M66073</link>
      <description>&lt;P&gt;hI!&lt;/P&gt;&lt;P&gt;Any news about this problem? I've the same issue with a Customer with mySQL and DBX&amp;nbsp;&lt;SPAN&gt;3.4.2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 10:17:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/DB-Connect-Lookup-failing-sending-NULL-to-SQL-server/m-p/559244#M66073</guid>
      <dc:creator>marcoscala</dc:creator>
      <dc:date>2021-07-13T10:17:17Z</dc:date>
    </item>
  </channel>
</rss>

