<?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: Lookup table greater than 2GB - possible solutions? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281280#M84849</link>
    <description>&lt;P&gt;I change my answer to "Use KV Store".&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jun 2016 15:24:23 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2016-06-06T15:24:23Z</dc:date>
    <item>
      <title>Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281276#M84845</link>
      <description>&lt;P&gt;I have a lookup file as CSV which contains &amp;gt; 27 million rows and is 2GB in size.  When zipped it is 500MB.&lt;/P&gt;

&lt;P&gt;I need to lookup search results to add fields from the lookup table.  Splunk complains that the lookup file is too big (error in splunk logs).&lt;/P&gt;

&lt;P&gt;What I'd like to know is what is the best option to work around this.  Things I can think of:&lt;/P&gt;

&lt;P&gt;1) Index the lookup data and do a join or subsearch&lt;BR /&gt;
2) Put the lookup data in a database and query it using Splunk DB connect&lt;BR /&gt;
3) Put the lookup data in a database and query it using REST or Python (perhaps using Redis to accelerate the DB queries)&lt;/P&gt;

&lt;P&gt;Can you advise what the best route is?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 11:03:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281276#M84845</guid>
      <dc:creator>charltones</dc:creator>
      <dc:date>2016-06-06T11:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281277#M84846</link>
      <description>&lt;P&gt;You could also split the lookup into multiple lookup files.  That is probably what I would do, if it is mostly upper-bounded at this point (will not grow very much).&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:55:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281277#M84846</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-06T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281278#M84847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Have you try convert the csv into kv store? If your version support kvstore&lt;/P&gt;

&lt;P&gt;Hope i help you&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:12:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281278#M84847</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2016-06-06T15:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281279#M84848</link>
      <description>&lt;P&gt;Now why didn't I think of that?!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:24:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281279#M84848</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-06T15:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281280#M84849</link>
      <description>&lt;P&gt;I change my answer to "Use KV Store".&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281280#M84849</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-06T15:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281281#M84850</link>
      <description>&lt;P&gt;Looks like kvstore is the thing to use! Many thanks I wasn't aware of it until now. I've tried setting up DB Connect anyway, but this looks like a simpler route. I will give it a go.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:26:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281281#M84850</guid>
      <dc:creator>charltones</dc:creator>
      <dc:date>2016-06-06T17:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup table greater than 2GB - possible solutions?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281282#M84851</link>
      <description>&lt;P&gt;Yes this is the route I started to go down, but I will very likely need to search across multiple partitions of the data set.  The most sensible partition is to split the data by country, but I will probably need to search across multiple countries.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 17:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-table-greater-than-2GB-possible-solutions/m-p/281282#M84851</guid>
      <dc:creator>charltones</dc:creator>
      <dc:date>2016-06-06T17:28:36Z</dc:date>
    </item>
  </channel>
</rss>

