<?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 and Lookup Caching in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164954#M98123</link>
    <description>&lt;P&gt;i read that config file as saying that the lookup &lt;EM&gt;definitions&lt;/EM&gt; are cached, not the results of a lookup&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2014 08:45:31 GMT</pubDate>
    <dc:creator>d1rtym0nk3y</dc:creator>
    <dc:date>2014-02-20T08:45:31Z</dc:date>
    <item>
      <title>DB Connect and Lookup Caching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164951#M98120</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Im looking into using the DB Connect app to provide a db lookup source.  I noticed that there are settings in the java.conf file that sound like they may cache the values into memory that are being provided from the database.   Can someone provide more details about these settings and how they affect DB Connect. Does it work while using search head pooling?&lt;/P&gt;

&lt;P&gt;java.conf&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[dblookup]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cache = true|false&lt;BR /&gt;
* When set to true, database lookup definitions are cached in memory&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cache.size = &amp;lt;n&amp;gt;&lt;BR /&gt;
* The cache size for database lookups definitions (number of entries)&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cache.invalidation.timeout = &amp;lt;relative_time_expression&amp;gt;&lt;BR /&gt;
* The amount of the before a database lookup definition is considered invalid&lt;/CODE&gt;&lt;BR /&gt;
* and removed from the cache.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 21:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164951#M98120</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-12-03T21:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect and Lookup Caching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164952#M98121</link>
      <description>&lt;P&gt;According to the DBX manual (&lt;A href="http://docs.splunk.com/Documentation/DBX/1.1.1/DeployDBX/Otherdeploymentconsiderations"&gt;http://docs.splunk.com/Documentation/DBX/1.1.1/DeployDBX/Otherdeploymentconsiderations&lt;/A&gt;), "Splunk will not cache the results between invocations of the lookup."&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 23:25:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164952#M98121</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-12-03T23:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect and Lookup Caching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164953#M98122</link>
      <description>&lt;P&gt;Yeah I saw that mentioned in the docs however the java.conf file is hinting otherwise.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2013 16:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164953#M98122</guid>
      <dc:creator>cramasta</dc:creator>
      <dc:date>2013-12-04T16:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect and Lookup Caching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164954#M98123</link>
      <description>&lt;P&gt;i read that config file as saying that the lookup &lt;EM&gt;definitions&lt;/EM&gt; are cached, not the results of a lookup&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 08:45:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164954#M98123</guid>
      <dc:creator>d1rtym0nk3y</dc:creator>
      <dc:date>2014-02-20T08:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect and Lookup Caching</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164955#M98124</link>
      <description>&lt;P&gt;Ran into this same issue but using DBX does cache results of your db query... sometimes. We have lots of savedsearches that are populated into our dashboards using DBX. Some panels get cached while others don't. To me, it's a mystery why this is as if you look at the searchid (SID) in your dispatch directory, you definitely see the file "results.csv.gz". The existence of that file should make Splunk load the cached results of that particular job before it's next scheduled run-time. &lt;/P&gt;

&lt;P&gt;So, what we've done to get all our panels populated with cached results is to run 'loadjob' of the scheduled savedsearch name and shove that as a panel into our dashboard. Now, my guys are happy as they don't have to wait for 20+ mins for data to get populated while accessing their dashboard. &lt;/P&gt;

&lt;P&gt;We're using Splunk 6.0 with DBX v1.1.3. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2014 01:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/DB-Connect-and-Lookup-Caching/m-p/164955#M98124</guid>
      <dc:creator>wbsplunk</dc:creator>
      <dc:date>2014-12-10T01:39:52Z</dc:date>
    </item>
  </channel>
</rss>

