<?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 Why am I receiving &amp;quot;cannot concatenate 'str' and 'NoneType' objects&amp;quot; error when uploading a log file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219745#M43125</link>
    <description>&lt;P&gt;Sorry for bringing this up again, but the other questions haven't been answered yet in a way that would help us.&lt;/P&gt;

&lt;P&gt;I'm getting said error, but only when trying to upload the whole log file. I tried just uploading a single line, that works fine. &lt;/P&gt;

&lt;P&gt;We're currently using Splunk 6.5.0 on Ubuntu (16, I think) and the log files are custom log files created by NGINX, but nothing special, here's an anonymized sample line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-11-14T16:35:28+01:00 xxx.xxx.xxx.xxx - xxx.xxx.xxx.xxx 443 GET /xxx/xxx/xxx.xxx xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx 200 1267 0.419 "Apache-HttpClient/4.5.1 (Java/1.8.0_92)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I already checked the file, if there's any lines with more or less entries, that might result in a null value, but they all had the 12 entries we are expecting.&lt;/P&gt;

&lt;P&gt;Any more ideas on what the problem could be? Is there maybe a validation tool that we can run to check, if the log file is OK to import? The check I ran was just a simple CSV parser that checked line by line for the number of entries, so maybe that missed something.&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 17:13:21 GMT</pubDate>
    <dc:creator>dwoehr</dc:creator>
    <dc:date>2016-11-14T17:13:21Z</dc:date>
    <item>
      <title>Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219745#M43125</link>
      <description>&lt;P&gt;Sorry for bringing this up again, but the other questions haven't been answered yet in a way that would help us.&lt;/P&gt;

&lt;P&gt;I'm getting said error, but only when trying to upload the whole log file. I tried just uploading a single line, that works fine. &lt;/P&gt;

&lt;P&gt;We're currently using Splunk 6.5.0 on Ubuntu (16, I think) and the log files are custom log files created by NGINX, but nothing special, here's an anonymized sample line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;2016-11-14T16:35:28+01:00 xxx.xxx.xxx.xxx - xxx.xxx.xxx.xxx 443 GET /xxx/xxx/xxx.xxx xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx&amp;amp;xxx=xxx 200 1267 0.419 "Apache-HttpClient/4.5.1 (Java/1.8.0_92)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I already checked the file, if there's any lines with more or less entries, that might result in a null value, but they all had the 12 entries we are expecting.&lt;/P&gt;

&lt;P&gt;Any more ideas on what the problem could be? Is there maybe a validation tool that we can run to check, if the log file is OK to import? The check I ran was just a simple CSV parser that checked line by line for the number of entries, so maybe that missed something.&lt;/P&gt;

&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:13:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219745#M43125</guid>
      <dc:creator>dwoehr</dc:creator>
      <dc:date>2016-11-14T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219746#M43126</link>
      <description>&lt;P&gt;The error message you cite sounds like it comes from Python rather than Core Splunk.  That would imply you are using a scripted or modular input.  Is that the case?  If so, which one?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 17:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219746#M43126</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-11-14T17:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219747#M43127</link>
      <description>&lt;P&gt;No, I just used Splunk's Web-Interface (Settings -&amp;gt; Add Data -&amp;gt; Upload)&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 09:54:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219747#M43127</guid>
      <dc:creator>dwoehr</dc:creator>
      <dc:date>2016-11-15T09:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219748#M43128</link>
      <description>&lt;P&gt;I have the exact same when uploading a .CSV file through the initial "Add Data" screen on the web interface.&lt;/P&gt;

&lt;P&gt;There are probably weird characters in my CSV, but I've cleaned all quotes, magic quotes, and other characters that might be confusijng, but it opens fine (with correct number of columns) in Excel and Numbers.app. &lt;/P&gt;

&lt;P&gt;Any thoughts?&lt;BR /&gt;
Cheers,&lt;/P&gt;

&lt;P&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 18:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219748#M43128</guid>
      <dc:creator>ralphreijs</dc:creator>
      <dc:date>2017-07-09T18:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219749#M43129</link>
      <description>&lt;P&gt;To me it happened with every file, and every file type.&lt;BR /&gt;
Changing browser from Safari to Firefox fixed it.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 18:38:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219749#M43129</guid>
      <dc:creator>ralphreijs</dc:creator>
      <dc:date>2017-07-09T18:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219750#M43130</link>
      <description>&lt;P&gt;&lt;STRONG&gt;If this happens just for one file&lt;/STRONG&gt;&lt;BR /&gt;
Are there any weird unicode characters in the file that might mess it up?&lt;BR /&gt;
This would be likelier to happen in CSVs than in LOG files.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;If this happens for all files&lt;/STRONG&gt;&lt;BR /&gt;
Try it out in a different browser. &lt;BR /&gt;
For me, was getting consistent errors for different files, and different file types. &lt;BR /&gt;
When I stopped using Safari and started using Firefox, it was fixed. &lt;BR /&gt;
Safari has much stricter security than most other browsers, which can get in the way of some web-apps functionalities.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 18:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219750#M43130</guid>
      <dc:creator>ralphreijs</dc:creator>
      <dc:date>2017-07-09T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219751#M43131</link>
      <description>&lt;P&gt;Hi dwoehr!&lt;/P&gt;

&lt;P&gt;A couple of followup questions...&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt; what is the file extension on the file that errors out? (ie, .txt? .log?&lt;/LI&gt;
&lt;LI&gt; how big is the file?&lt;/LI&gt;
&lt;LI&gt; what version of splunk are you using?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sun, 09 Jul 2017 21:55:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219751#M43131</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-07-09T21:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219752#M43132</link>
      <description>&lt;P&gt;I've got the same error when uploading file from Firefox. Then I used Chrome and it works &lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 12:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219752#M43132</guid>
      <dc:creator>sri_ratp</dc:creator>
      <dc:date>2017-07-13T12:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219753#M43133</link>
      <description>&lt;P&gt;This issues happens when using FF or IE. Chrome handles the upload just fine. Please submit this as feedback to Firefox to fix this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 14:26:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219753#M43133</guid>
      <dc:creator>zaynaly</dc:creator>
      <dc:date>2018-01-22T14:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219754#M43134</link>
      <description>&lt;P&gt;This works!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 14:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219754#M43134</guid>
      <dc:creator>zaynaly</dc:creator>
      <dc:date>2018-01-22T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219755#M43135</link>
      <description>&lt;P&gt;I get this error trying to do the friggin Splunk tutorial! &lt;/P&gt;

&lt;P&gt;Using the provided access_30DAY.log file from Splunk Fundamentals 1, on a Mac with Chrome, against the Enterprise Splunk 30 day single instance in the DMG.&lt;BR /&gt;
&lt;A href="https://s3-us-west-2.amazonaws.com/splunk-fundamentals-data/Splunk_f1_Data.zip" target="_blank"&gt;https://s3-us-west-2.amazonaws.com/splunk-fundamentals-data/Splunk_f1_Data.zip&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://download.splunk.com/products/splunk/releases/7.1.0/osx/splunk-7.1.0-2e75b3406c5b-macosx-10.11-intel.dmg" target="_blank"&gt;https://download.splunk.com/products/splunk/releases/7.1.0/osx/splunk-7.1.0-2e75b3406c5b-macosx-10.11-intel.dmg&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;No clue how to work around a provided tutorial file executed against a caned Splunk instance..,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:24:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219755#M43135</guid>
      <dc:creator>SirSpammenot</dc:creator>
      <dc:date>2020-09-29T19:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219756#M43136</link>
      <description>&lt;P&gt;You can also try to open the file in an editor and save to a different type like UTF-8 instead of ASCII. That worked for me just now. (v7.2.1)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2019 19:42:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219756#M43136</guid>
      <dc:creator>scoughlin1</dc:creator>
      <dc:date>2019-03-27T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219757#M43137</link>
      <description>&lt;P&gt;Seems to be a browser session issue. Opening the Splunk Web in '&lt;STRONG&gt;incognito&lt;/STRONG&gt;' mode in Chrome fixed for me.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 02:22:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219757#M43137</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-05-20T02:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219758#M43138</link>
      <description>&lt;P&gt;@dwoehr &lt;/P&gt;

&lt;P&gt;Can you accept the answer if it's helped you? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2019 01:38:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219758#M43138</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-08-01T01:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219759#M43139</link>
      <description>&lt;P&gt;it worked also for me, thanks for your solution&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2019 13:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/219759#M43139</guid>
      <dc:creator>edoardo_vicendo</dc:creator>
      <dc:date>2019-11-06T13:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/513128#M87013</link>
      <description>&lt;P&gt;I changed browser from Chome to Edge and it worked - could also try incognito instead&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 08:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/513128#M87013</guid>
      <dc:creator>JoJoRabbit</dc:creator>
      <dc:date>2020-08-08T08:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/759400#M120358</link>
      <description>&lt;P&gt;I get this error when trying to upload the tutorialdata.zip using Edge.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:24:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/759400#M120358</guid>
      <dc:creator>nickg1</dc:creator>
      <dc:date>2026-03-18T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I receiving "cannot concatenate 'str' and 'NoneType' objects" error when uploading a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/759401#M120359</link>
      <description>&lt;P&gt;Worked in Chrome&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2026 11:42:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-am-I-receiving-quot-cannot-concatenate-str-and-NoneType/m-p/759401#M120359</guid>
      <dc:creator>nickg1</dc:creator>
      <dc:date>2026-03-18T11:42:28Z</dc:date>
    </item>
  </channel>
</rss>

