<?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: splunk thinks text file is binary in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60728#M12076</link>
    <description>&lt;P&gt;Just edited the file with an hex editor and the two first caracters are xA0 (Space character) so no binary data.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Sep 2010 01:58:52 GMT</pubDate>
    <dc:creator>thinman</dc:creator>
    <dc:date>2010-09-30T01:58:52Z</dc:date>
    <item>
      <title>splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60726#M12074</link>
      <description>&lt;P&gt;I have a file a like to upload to splunk with the following  data:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;72162397 &amp;nbsp;&amp;nbsp;SANTA CRUZ &amp;nbsp;&amp;nbsp;00 &amp;nbsp;&amp;nbsp;33527710 01/08/2010 0:01:01 &amp;nbsp;&amp;nbsp; 28.00 0.23
&amp;nbsp;&amp;nbsp;72162397 &amp;nbsp;&amp;nbsp;SANTA CRUZ &amp;nbsp;&amp;nbsp;10 &amp;nbsp;&amp;nbsp;70902676 01/08/2010 0:15:53 &amp;nbsp;&amp;nbsp; 1.00 0.20
&amp;nbsp;&amp;nbsp;72162397 &amp;nbsp;&amp;nbsp;SANTA CRUZ &amp;nbsp;&amp;nbsp;00 &amp;nbsp;&amp;nbsp;70011786 01/08/2010 0:34:20 &amp;nbsp;&amp;nbsp; 14.00 0.12
&amp;nbsp;&amp;nbsp;72162397 &amp;nbsp;&amp;nbsp;SANTA CRUZ &amp;nbsp;&amp;nbsp;00 &amp;nbsp;&amp;nbsp;79052362 01/08/2010 0:35:08 &amp;nbsp;&amp;nbsp; 127.00 1.05
[rest of file truncated]&lt;/P&gt;

&lt;P&gt;But after upload by "Manager » Data inputs » Files &amp;amp; Directories » Add New" with option "Upload a local file"&lt;/P&gt;

&lt;P&gt;I got the following error:&lt;/P&gt;

&lt;P&gt;==&amp;gt; /opt/splunk/var/log/splunk/splunkd.log &amp;lt;==
09-29-2010 11:50:56.816 WARN  FileClassifierManager - The file 'yumolog.txt' is invalid. Reason: binary&lt;/P&gt;

&lt;P&gt;why is splunk thinking the file is binary?&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 23:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60726#M12074</guid>
      <dc:creator>thinman</dc:creator>
      <dc:date>2010-09-29T23:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60727#M12075</link>
      <description>&lt;P&gt;Could there be an invisible control character at the start of your file? That happened to me one time...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2010 23:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60727#M12075</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2010-09-29T23:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60728#M12076</link>
      <description>&lt;P&gt;Just edited the file with an hex editor and the two first caracters are xA0 (Space character) so no binary data.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 01:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60728#M12076</guid>
      <dc:creator>thinman</dc:creator>
      <dc:date>2010-09-30T01:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60729#M12077</link>
      <description>&lt;P&gt;Do you run into the same problem if you index the file locally?  Or does this only occur if your upload the log file?  If you have the file indexed locally, you can force-ably disable the binary check, not that doing so is normally a good idea.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60729#M12077</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-09-30T05:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60730#M12078</link>
      <description>&lt;P&gt;Same problem loading locally&lt;/P&gt;

&lt;P&gt;==&amp;gt; /opt/splunk/var/log/splunk/splunkd.log &amp;lt;==&lt;BR /&gt;
09-29-2010 18:31:47.730 WARN  FileClassifierManager - The file '/root/yumolog.txt' is invalid. Reason: binary&lt;/P&gt;

&lt;P&gt;I've also adde a dummy text at the begining with no luck....&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:35:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60730#M12078</guid>
      <dc:creator>thinman</dc:creator>
      <dc:date>2010-09-30T05:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60731#M12079</link>
      <description>&lt;P&gt;[root@splunk ~]# file yumolog.txt&lt;/P&gt;

&lt;P&gt;yumolog.txt: ISO-8859 text, with CRLF line terminators&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60731#M12079</guid>
      <dc:creator>thinman</dc:creator>
      <dc:date>2010-09-30T05:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60732#M12080</link>
      <description>&lt;P&gt;Looking into file result let me see that you where rigth. change xA0 to x20 and loade correctly.&lt;/P&gt;

&lt;P&gt;Thansk!!!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2010 05:47:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60732#M12080</guid>
      <dc:creator>thinman</dc:creator>
      <dc:date>2010-09-30T05:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60733#M12081</link>
      <description>&lt;P&gt;The same problem at the forwarder:&lt;/P&gt;

&lt;P&gt;file ////usr/local/rex/azkaban/logs/azkaban.log&lt;/P&gt;

&lt;P&gt;///usr/local/rex/azkaban/logs/azkaban.log: ASCII English text&lt;/P&gt;

&lt;P&gt;10-03-2012 17:53:21.733 +0000 WARN  FileClassifierManager - The file '/usr/local/rex/azkaban/logs/azkaban.log' is invalid. Reason: binary&lt;BR /&gt;
10-03-2012 17:53:21.734 +0000 INFO  TailingProcessor - Ignoring file '/usr/local/rex/azkaban/logs/azkaban.log' due to: binary&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2012 12:57:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60733#M12081</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-10-19T12:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: splunk thinks text file is binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60734#M12082</link>
      <description>&lt;P&gt;CHARSET=AUTO&lt;BR /&gt;
or CHARSET=UTF-8( or whatever charset you need to give)&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
and remeber to delete the fishbucket &lt;BR /&gt;
this should fix the issue&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunk-thinks-text-file-is-binary/m-p/60734#M12082</guid>
      <dc:creator>arunsundarm</dc:creator>
      <dc:date>2020-09-30T02:41:40Z</dc:date>
    </item>
  </channel>
</rss>

