<?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 UF think my file is binary? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306064#M57723</link>
    <description>&lt;P&gt;Thank you for answer mayurr98.&lt;/P&gt;

&lt;P&gt;As a result of setting like below,&lt;BR /&gt;
similar events did not recur.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;sourcetype name&amp;gt;]
CHARSET=utf-16le
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It was very helpful!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2018 05:18:53 GMT</pubDate>
    <dc:creator>yutaka1005</dc:creator>
    <dc:date>2018-01-16T05:18:53Z</dc:date>
    <item>
      <title>Why UF think my file is binary?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306061#M57720</link>
      <description>&lt;P&gt;In my environment, UF monitors the file and forwards it to Splunk.&lt;/P&gt;

&lt;P&gt;It was able to capture the file without problems before,&lt;BR /&gt;
Due to the version upgrade of software that outputs log that was being monitored,&lt;BR /&gt;
and the character code is changed from Shift_jis to utf-16LE (with BOM), it is no longer imported.&lt;/P&gt;

&lt;P&gt;When checking the internal log of UF, message saying "it was a binary file, so ignored it".&lt;/P&gt;

&lt;P&gt;Is this a bug?&lt;BR /&gt;
Is there any workaround other than updating?&lt;/P&gt;

&lt;P&gt;If anyone knows, it would be greatly appreciated if you could tell me.&lt;/P&gt;

&lt;P&gt;UF ver: 6.2.0&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 06:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306061#M57720</guid>
      <dc:creator>yutaka1005</dc:creator>
      <dc:date>2018-01-15T06:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why UF think my file is binary?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306062#M57721</link>
      <description>&lt;P&gt;Good discussions at &lt;A href="https://answers.splunk.com/answers/373137/why-does-splunk-think-my-file-is-binary.html"&gt;https://answers.splunk.com/answers/373137/why-does-splunk-think-my-file-is-binary.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 07:16:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306062#M57721</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2018-01-15T07:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why UF think my file is binary?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306063#M57722</link>
      <description>&lt;P&gt;hey&lt;/P&gt;

&lt;P&gt;specify this attribute in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[host::my-foreign-docs]
CHARSET=AUTO
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/data/Configurecharactersetencoding#Automatically_specify_a_character_set"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/data/Configurecharactersetencoding#Automatically_specify_a_character_set&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also put this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;NO_BINARY_CHECK = [true|false]
* When set to true, Splunk processes binary files.
* Can only be used on the basis of [&amp;lt;sourcetype&amp;gt;], or [source::&amp;lt;source&amp;gt;],
  not [host::&amp;lt;host&amp;gt;].
* Defaults to false (binary files are ignored).
* This setting applies at input time, when data is first read by Splunk.
  The setting is used on a Splunk system that has configured inputs
  acquiring the data.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 07:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306063#M57722</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-15T07:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why UF think my file is binary?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306064#M57723</link>
      <description>&lt;P&gt;Thank you for answer mayurr98.&lt;/P&gt;

&lt;P&gt;As a result of setting like below,&lt;BR /&gt;
similar events did not recur.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;sourcetype name&amp;gt;]
CHARSET=utf-16le
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It was very helpful!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 05:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-UF-think-my-file-is-binary/m-p/306064#M57723</guid>
      <dc:creator>yutaka1005</dc:creator>
      <dc:date>2018-01-16T05:18:53Z</dc:date>
    </item>
  </channel>
</rss>

