<?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 unable to process binary log file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258357#M189592</link>
    <description>&lt;P&gt;i have splunkforwarder running but once a while we run into issue with the following error about file being binary -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-30-2015 03:28:02.240 -0800 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/var/log/tomcat/catalina.out'.
11-30-2015 03:28:07.418 -0800 WARN  FileClassifierManager - The file '/var/log/tomcat/catalina.out' is invalid. Reason: binary
11-30-2015 03:28:07.418 -0800 INFO  TailReader - Ignoring file '/var/log/tomcat/catalina.out' due to: binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i have tried following the instruction here but didnt seem to work -&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/36739/how-can-we-monitor-binary-log-data-in-splunk-is-invalid-reason-binary.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev"&gt;https://answers.splunk.com/answers/36739/how-can-we-monitor-binary-log-data-in-splunk-is-invalid-reason-binary.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;not sure if this is the file to edit though -&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/opt/splunkforwarder/etc/system/default/props.conf&lt;/EM&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[catalina]
# 20151124 cwong - added NO_BINARY_CHECK = 1
NO_BINARY_CHECK = 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 30 Nov 2015 17:05:00 GMT</pubDate>
    <dc:creator>clearslide_cwon</dc:creator>
    <dc:date>2015-11-30T17:05:00Z</dc:date>
    <item>
      <title>unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258357#M189592</link>
      <description>&lt;P&gt;i have splunkforwarder running but once a while we run into issue with the following error about file being binary -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;11-30-2015 03:28:02.240 -0800 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/var/log/tomcat/catalina.out'.
11-30-2015 03:28:07.418 -0800 WARN  FileClassifierManager - The file '/var/log/tomcat/catalina.out' is invalid. Reason: binary
11-30-2015 03:28:07.418 -0800 INFO  TailReader - Ignoring file '/var/log/tomcat/catalina.out' due to: binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i have tried following the instruction here but didnt seem to work -&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/36739/how-can-we-monitor-binary-log-data-in-splunk-is-invalid-reason-binary.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev"&gt;https://answers.splunk.com/answers/36739/how-can-we-monitor-binary-log-data-in-splunk-is-invalid-reason-binary.html?utm_source=typeahead&amp;amp;utm_medium=newquestion&amp;amp;utm_campaign=no_votes_sort_relev&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;not sure if this is the file to edit though -&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/opt/splunkforwarder/etc/system/default/props.conf&lt;/EM&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[catalina]
# 20151124 cwong - added NO_BINARY_CHECK = 1
NO_BINARY_CHECK = 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 30 Nov 2015 17:05:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258357#M189592</guid>
      <dc:creator>clearslide_cwon</dc:creator>
      <dc:date>2015-11-30T17:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258358#M189593</link>
      <description>&lt;P&gt;Do &lt;STRONG&gt;NOT&lt;/STRONG&gt; edit files in system/default - these will get overwritten on upgrades of Splunk.&lt;BR /&gt;
Instead, add a props.conf to the app that contains your inputs.conf and make the change there. Use the local subdirectory if the app wasn't created by your team.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Configurationfiledirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1511/Admin/Configurationfiledirectories&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 17:41:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258358#M189593</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-11-30T17:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258359#M189594</link>
      <description>&lt;P&gt;hey martin,&lt;/P&gt;

&lt;P&gt;thanks for the quick reply.&lt;BR /&gt;
i added props.conf to the local/ dir -&lt;/P&gt;

&lt;H1&gt;cat /opt/splunkforwarder/etc/system/local/props.conf&lt;/H1&gt;

&lt;P&gt;[catalina]&lt;/P&gt;

&lt;H1&gt;20151124 cwong - added NO_BINARY_CHECK = 1&lt;/H1&gt;

&lt;P&gt;NO_BINARY_CHECK = 1&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = true&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=30&lt;BR /&gt;
TIME_PREFIX = ^&lt;BR /&gt;
pulldown_type = 1&lt;BR /&gt;
category = Application&lt;BR /&gt;
description = Output produced by Apache Tomcat Catalina (System.out and System.err)&lt;/P&gt;

&lt;P&gt;i still see the "WARN  FileClassifierManager - The file '/var/log/tomcat/catalina.out' is invalid. Reason: binary" in splunkd.log&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258359#M189594</guid>
      <dc:creator>clearslide_cwon</dc:creator>
      <dc:date>2020-09-29T08:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258360#M189595</link>
      <description>&lt;P&gt;Don't forget to set this on the indexer, timestamp extraction and the like is not handled by a universal forwarder.&lt;BR /&gt;
Also restart instances after these changes.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 20:32:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258360#M189595</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-11-30T20:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258361#M189596</link>
      <description>&lt;P&gt;thanks martin, sorry for the slow reply. having the following worked:&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/tomcat/catalina.out]
sourcetype=tomcat-catalina-out
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tomcat-catalina-out]
NO_BINARY_CHECK = true
BREAK_ONLY_BEFORE_DATE = true
SHOULD_LINEMERGE=true
MAX_TIMESTAMP_LOOKAHEAD=30
TIME_PREFIX = ^
pulldown_type = 1
category = Application
description = Output produced by Apache Tomcat Catalina (System.out and System.err)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Dec 2015 22:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258361#M189596</guid>
      <dc:creator>clearslide_cwon</dc:creator>
      <dc:date>2015-12-18T22:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: unable to process binary log file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258362#M189597</link>
      <description>&lt;P&gt;just to put my 2 cents.&lt;/P&gt;

&lt;P&gt;try to add NO_BINARY_CHECK = 1&lt;BR /&gt;
to the sourcetype in .../local/props.conf on the forwarder and indexer.&lt;BR /&gt;
and in the .../local/inputs.conf on the forwarder under the monitor stanza&lt;BR /&gt;
then restart to apply&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:11:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/unable-to-process-binary-log-file/m-p/258362#M189597</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-29T08:11:57Z</dc:date>
    </item>
  </channel>
</rss>

