<?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 inputlookup with database lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-with-database-lookup/m-p/58816#M14438</link>
    <description>&lt;P&gt;Is there a way to use a database lookup in the way you would using inputlookup? If I wanted to just dump the contents to be searched against? I can do it with dbquery but wonder if there is a way to do this with inputlookup or lookup? I believe inputlookup only work with files (possibly an enhancement?).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
This works for file based lookup, would like similar mechanism for database lookup(using dbconnect)&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
| inputlookup LOOKUPDBTABLE | search BAR_CODE="123*" &lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Below does not work.&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
| stats count | eval BAR_CODE="123*" | lookup LOOKUPDBTABLE BAR_CODE&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bob&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2013 14:20:24 GMT</pubDate>
    <dc:creator>rdownie</dc:creator>
    <dc:date>2013-09-10T14:20:24Z</dc:date>
    <item>
      <title>inputlookup with database lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-with-database-lookup/m-p/58816#M14438</link>
      <description>&lt;P&gt;Is there a way to use a database lookup in the way you would using inputlookup? If I wanted to just dump the contents to be searched against? I can do it with dbquery but wonder if there is a way to do this with inputlookup or lookup? I believe inputlookup only work with files (possibly an enhancement?).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;
This works for file based lookup, would like similar mechanism for database lookup(using dbconnect)&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
| inputlookup LOOKUPDBTABLE | search BAR_CODE="123*" &lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Below does not work.&lt;BR /&gt;
&lt;CODE&gt;&lt;BR /&gt;
| stats count | eval BAR_CODE="123*" | lookup LOOKUPDBTABLE BAR_CODE&lt;BR /&gt;
&lt;/CODE&gt;&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Bob&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 14:20:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-with-database-lookup/m-p/58816#M14438</guid>
      <dc:creator>rdownie</dc:creator>
      <dc:date>2013-09-10T14:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: inputlookup with database lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/inputlookup-with-database-lookup/m-p/58817#M14439</link>
      <description>&lt;P&gt;Hi, does this work for you? &lt;A href="http://docs.splunk.com/Documentation/DBX/1.0.11/DeployDBX/Setupadatabaselookuptable"&gt;http://docs.splunk.com/Documentation/DBX/1.0.11/DeployDBX/Setupadatabaselookuptable&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2013 20:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/inputlookup-with-database-lookup/m-p/58817#M14439</guid>
      <dc:creator>jcoates_splunk</dc:creator>
      <dc:date>2013-09-10T20:58:03Z</dc:date>
    </item>
  </channel>
</rss>

