<?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: Why am I getting &amp;quot;SyntaxError: Unexpected token &amp;lt;.&amp;quot; trying to upload a large lookup file? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216448#M63517</link>
    <description>&lt;P&gt;If your file does contain an unparseable (within context) character, the easiest way to identify it is with a binary search.  Cut the file in half and upload it.  If it fails, cut it in half again until it doesn't.  At that point, add back in half of what you cut out last.  Keep going just like this and quickly you will find the one line that is causing the problem and go from there.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Sep 2015 17:32:42 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-09-08T17:32:42Z</dc:date>
    <item>
      <title>Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216447#M63516</link>
      <description>&lt;P&gt;Attempting to upload a "large" lookup file, 2 columns of 190k rows each presents the error "Your entry was not saved. The following error was reported: SyntaxError: Unexpected token &amp;lt;.". I have confirmed that the file does not contain the listed token, nor any other token and is not over the 500mb limit (2.7mb unzipped) and even tried to gzip it to resolve the issue (1.2mb zipped). &lt;/P&gt;

&lt;P&gt;Has anyone else run into this issue and if so were you able to resolve the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 15:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216447#M63516</guid>
      <dc:creator>pepper_seattle</dc:creator>
      <dc:date>2015-09-08T15:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216448#M63517</link>
      <description>&lt;P&gt;If your file does contain an unparseable (within context) character, the easiest way to identify it is with a binary search.  Cut the file in half and upload it.  If it fails, cut it in half again until it doesn't.  At that point, add back in half of what you cut out last.  Keep going just like this and quickly you will find the one line that is causing the problem and go from there.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 17:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216448#M63517</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-08T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216449#M63518</link>
      <description>&lt;P&gt;I checked the file for unparseable characters and could not find one. Should have mentioned that I've run into this error before with a "large" lookup and the fix was to gzip the file. Unfortunately that did not work this time around.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 18:16:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216449#M63518</guid>
      <dc:creator>pepper_seattle</dc:creator>
      <dc:date>2015-09-08T18:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216450#M63519</link>
      <description>&lt;P&gt;I, too, have seen problems like this with large files (both lookup CSVs and app TGZs) and the easiest way around it is to &lt;EM&gt;not&lt;/EM&gt; use the GUI but transfer the file yourself with CLI (e.g. ftp) and make the associated configuration file changes manually (i.e. add the &lt;CODE&gt;lookup&lt;/CODE&gt; stanza to &lt;CODE&gt;transforms.conf&lt;/CODE&gt;).  This always works.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 17:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216450#M63519</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-09T17:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216451#M63520</link>
      <description>&lt;P&gt;We found the issue to be a size limit on the proxy host which blocked us from uploading 'large' files. Unfortunately this was difficult to find due to the error messaging given. Either way, thanks for weighing in on this issue!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 17:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216451#M63520</guid>
      <dc:creator>pepper_seattle</dc:creator>
      <dc:date>2015-09-09T17:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216452#M63521</link>
      <description>&lt;P&gt;What was imposing this limit?  Was it Splunk or a Firewall or what?  If it was Splunk, what configuration did you change?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 18:02:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216452#M63521</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-09-09T18:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216453#M63522</link>
      <description>&lt;P&gt;Unfortunately I cannot say as I didn't make the change/don't have access to do so, if however I find out I will update you.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2015 20:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216453#M63522</guid>
      <dc:creator>pepper_seattle</dc:creator>
      <dc:date>2015-09-09T20:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting "SyntaxError: Unexpected token &lt;." trying to upload a large lookup file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216454#M63523</link>
      <description>&lt;P&gt;Great, it works. In our case there was an error message in proxy (nginx) log, in wich unavailability to write request body to /etc/nginx/client_body_temp/ described. Chmod 777 solved the problem. Now proxy is available send large requests to upstream and no error messages like message from subject&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:15:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-am-I-getting-quot-SyntaxError-Unexpected-token-lt-quot/m-p/216454#M63523</guid>
      <dc:creator>m_efremov</dc:creator>
      <dc:date>2020-09-29T07:15:00Z</dc:date>
    </item>
  </channel>
</rss>

