<?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: loading a zip file for lookup? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144396#M185083</link>
    <description>&lt;P&gt;You should check your CSV for any special characters, beyond the line endings. See &lt;A href="http://answers.splunk.com/answers/46459/error-lookup-table-files-file-is-binary-and-not-gzipped"&gt;this previous Answers posting&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 16:11:26 GMT</pubDate>
    <dc:creator>ChrisG</dc:creator>
    <dc:date>2013-11-15T16:11:26Z</dc:date>
    <item>
      <title>loading a zip file for lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144395#M185082</link>
      <description>&lt;P&gt;I have a ~250MB csv file I want to use in a lookup, it takes forever when I do the search to get it into memory so I want to try to zip it and see if that helps or hurts. Was at Splunk&amp;gt;Live yesterday and this was a suggested approach by a couple folks. Problem: when I zip the file and try to add a new lookup I get an error that says file is binary and not gzipped. I've tried windows compression, GNU gzip, gnu gzip with unix style endlines in the CSV, with extension .gz, .zip, .csv.gz, .csv.zip, always get same error. File is ~50MB compressed. Any suggestions?&lt;/P&gt;

&lt;P&gt;I see on the page where you pick the file the little help thing even talks about loading a zip so I don't understand why this isn't working. &lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 14:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144395#M185082</guid>
      <dc:creator>smileyge</dc:creator>
      <dc:date>2013-11-15T14:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: loading a zip file for lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144396#M185083</link>
      <description>&lt;P&gt;You should check your CSV for any special characters, beyond the line endings. See &lt;A href="http://answers.splunk.com/answers/46459/error-lookup-table-files-file-is-binary-and-not-gzipped"&gt;this previous Answers posting&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 16:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144396#M185083</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2013-11-15T16:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: loading a zip file for lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144397#M185084</link>
      <description>&lt;P&gt;According to that post [^x00-x7F] is the regex to find a "special character" in the file. That finds commas. I have millions of those - it's a compressed CSV file. The file imports fine when I don't compress it, but when I compress I get the error. Am I spending good time after bad? Can anyone comment on even the merits of trying to use a .gz file in a lookup vs. an uncompressed CSV for performance reasons?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 18:13:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144397#M185084</guid>
      <dc:creator>smileyge</dc:creator>
      <dc:date>2013-11-15T18:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: loading a zip file for lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144398#M185085</link>
      <description>&lt;P&gt;According to that post [^x00-x7F] is the regex to find a "special character" in the file. That finds commas. I have millions of those - it's a compressed CSV file. The file imports fine when I don't compress it, but when I compress I get the error. Am I spending good time after bad? Can anyone comment on even the merits of trying to use a .gz file in a lookup vs. an uncompressed CSV for performance reasons?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 18:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144398#M185085</guid>
      <dc:creator>smileyge</dc:creator>
      <dc:date>2013-11-15T18:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: loading a zip file for lookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144399#M185086</link>
      <description>&lt;P&gt;That is...odd. Uploading a compressed CSV file should work fine. Just to troubleshoot the basics: can you uncompress the file and open it successfully? I'm assuming you've confirmed that there's nothing wrong with the compression itself, but want to confirm. And I don't have any other real ideas at the moment. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 19:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/loading-a-zip-file-for-lookup/m-p/144399#M185086</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2013-11-15T19:03:10Z</dc:date>
    </item>
  </channel>
</rss>

