<?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: Can we use DBconnect lookup for correlation of lookup file data with DB input data before indexing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388712#M113344</link>
    <description>&lt;P&gt;Yes you can do that with dbxquery command, lookup and collect commands&lt;/P&gt;

&lt;P&gt;So you upload your CSV as lookup and do a search like this:&lt;/P&gt;

&lt;P&gt;| dbxquery ... | lookup csvFileName.csv ... | collect index=indexName&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2018 12:30:18 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2018-06-20T12:30:18Z</dc:date>
    <item>
      <title>Can we use DBconnect lookup for correlation of lookup file data with DB input data before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388709#M113341</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I just want to know if this scenario can be achieved in splunk with DB connect Lookups . I am getting data from the Database through DBconnect inputs and I want to correlate my database data with a CSV file data, but I need to happen this within the DB connect input SQL query execution. &lt;/P&gt;

&lt;P&gt;Is it possible to do this or any other alternative?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 23:23:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388709#M113341</guid>
      <dc:creator>arrangineni</dc:creator>
      <dc:date>2018-06-19T23:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use DBconnect lookup for correlation of lookup file data with DB input data before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388710#M113342</link>
      <description>&lt;P&gt;Yes, the dbconnect app supports sql query directly via lookups.  &lt;/P&gt;

&lt;P&gt;You can also use the dbxquery search command combined with the outputlookup command to generate lookups on the fly or by scheduling the search to run at certain times.&lt;/P&gt;

&lt;P&gt;Please refer to the dbconnect documentation on how to do so.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 23:46:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388710#M113342</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-19T23:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use DBconnect lookup for correlation of lookup file data with DB input data before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388711#M113343</link>
      <description>&lt;P&gt;Thanks for your reply. But what I am looking for is I already have a CSV file with me in Splunk and I wanted it to be correlated with the database input before the resultant data gets indexed into splunk to skip the unwanted data and index only the matched field. Any advise?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jun 2018 23:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388711#M113343</guid>
      <dc:creator>arrangineni</dc:creator>
      <dc:date>2018-06-19T23:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use DBconnect lookup for correlation of lookup file data with DB input data before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388712#M113344</link>
      <description>&lt;P&gt;Yes you can do that with dbxquery command, lookup and collect commands&lt;/P&gt;

&lt;P&gt;So you upload your CSV as lookup and do a search like this:&lt;/P&gt;

&lt;P&gt;| dbxquery ... | lookup csvFileName.csv ... | collect index=indexName&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2018 12:30:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-DBconnect-lookup-for-correlation-of-lookup-file-data/m-p/388712#M113344</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-06-20T12:30:18Z</dc:date>
    </item>
  </channel>
</rss>

