<?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: Is my (big) csv lookup file indexed in memory by Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180385#M51950</link>
    <description>&lt;P&gt;If I change my memory limit under the file size Splunk rise this error:&lt;/P&gt;

&lt;P&gt;Error 'Error using lookup table '$table_name': CIDR and wildcard matching is restricted to lookup files under the in-memory size limit.' for conf '$lookup_name' and lookup table '$lookup_table', so I have to increase max_memtable_bytes!&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 18:00:20 GMT</pubDate>
    <dc:creator>RiccardoV</dc:creator>
    <dc:date>2020-09-28T18:00:20Z</dc:date>
    <item>
      <title>Is my (big) csv lookup file indexed in memory by Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180382#M51947</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I have a quite big csv file (~20Mb) and I changed the &lt;CODE&gt;max_memtable_bytes&lt;/CODE&gt; to &lt;CODE&gt;100Mb&lt;/CODE&gt; in my &lt;CODE&gt;limits.conf&lt;/CODE&gt; file.&lt;BR /&gt;
My searches using that lookup table are really really slow. How can I check if Splunk internally indexed those informations or still searching into the lookup table?&lt;/P&gt;

&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2014 09:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180382#M51947</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-10-22T09:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is my (big) csv lookup file indexed in memory by Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180383#M51948</link>
      <description>&lt;P&gt;If you can look at the filesystem, you'll see a directory that is the filename of your base lookup, with ".index" appended. Example: hosts.csv -&amp;gt; hosts.csv.index. This directory will contain .tsidx files (and some other data) which represent the "indexed" version of the lookup table. Since you indicated that your file is 20M and you &lt;EM&gt;raised&lt;/EM&gt; &lt;CODE&gt;max_memtable_bytes&lt;/CODE&gt; to 100M, then you've actually raised the limit at which Splunk would index the lookup. That is, it's still using an in-memory table, and &lt;EM&gt;not&lt;/EM&gt; an indexed version of the lookup. You might consider reverting the setting of &lt;CODE&gt;max_memtable_bytes&lt;/CODE&gt; to allow Splunk to index the lookup table.&lt;/P&gt;

&lt;P&gt;And, to be clear, it's not writing the data &lt;EM&gt;to&lt;/EM&gt; an index, rather, it's applying the indexing technology to the lookup table "in place".&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:00:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180383#M51948</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2020-09-28T18:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is my (big) csv lookup file indexed in memory by Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180384#M51949</link>
      <description>&lt;P&gt;In general the path where splunk reads in the entire lookup is much faster than the index-&amp;gt;access-on-disk path.  So usually raising max_memtable_bytes will cause the search to run faster, at the expense of more ram.&lt;/P&gt;

&lt;P&gt;As sowings points out, we don't index when we read the values into memory, we just use them in ram without a special indexing step.&lt;/P&gt;

&lt;P&gt;If raising max_memtable_bytes makes things run slower, it may be that your system is beginning to swap.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180384#M51949</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2020-09-28T17:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is my (big) csv lookup file indexed in memory by Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180385#M51950</link>
      <description>&lt;P&gt;If I change my memory limit under the file size Splunk rise this error:&lt;/P&gt;

&lt;P&gt;Error 'Error using lookup table '$table_name': CIDR and wildcard matching is restricted to lookup files under the in-memory size limit.' for conf '$lookup_name' and lookup table '$lookup_table', so I have to increase max_memtable_bytes!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:00:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180385#M51950</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2020-09-28T18:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is my (big) csv lookup file indexed in memory by Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180386#M51951</link>
      <description>&lt;P&gt;I came across the same issue and the first thing I did was also increasing limit to &lt;EM&gt;literally&lt;/EM&gt; 100MB, it's probably quite obvious as value has to be integer but what fixed the problem was setting it to&lt;BR /&gt;
    max_memtable_bytes = 100000000&lt;BR /&gt;
instead of 100MB&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:45:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-my-big-csv-lookup-file-indexed-in-memory-by-Splunk/m-p/180386#M51951</guid>
      <dc:creator>jankowsr</dc:creator>
      <dc:date>2020-09-29T12:45:23Z</dc:date>
    </item>
  </channel>
</rss>

