<?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 How can we monitor binary log data in splunk?  is invalid. Reason: binary in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36648#M6751</link>
    <description>&lt;P&gt;I have a python script that read data from the stdin, convert the input and output human readable text to the stdout.&lt;BR /&gt;
this is my current setup:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/account/pacct]
sourcetype = pacct_binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pacct_binary]
invalid_cause = archive
unarchive_cmd = /opt/splunk/etc/apps/search/bin/pacct.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I experimented with multiple configurations in inputs.conf and props.conf.  No matter what I do I always get the following warning when splunk start and I don't see my sourcetype in splunk web gui.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WARN  FileClassifierManager - The file '/var/account/pacct' is invalid. Reason: binary
INFO  TailingProcessor - Ignoring file '/var/account/pacct' due to: binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone can post an exemple of a inputs.conf and props.conf that would let me load this binary file.&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
    <pubDate>Sun, 18 Dec 2011 04:04:05 GMT</pubDate>
    <dc:creator>alexethier</dc:creator>
    <dc:date>2011-12-18T04:04:05Z</dc:date>
    <item>
      <title>How can we monitor binary log data in splunk?  is invalid. Reason: binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36648#M6751</link>
      <description>&lt;P&gt;I have a python script that read data from the stdin, convert the input and output human readable text to the stdout.&lt;BR /&gt;
this is my current setup:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/account/pacct]
sourcetype = pacct_binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[pacct_binary]
invalid_cause = archive
unarchive_cmd = /opt/splunk/etc/apps/search/bin/pacct.py
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I experimented with multiple configurations in inputs.conf and props.conf.  No matter what I do I always get the following warning when splunk start and I don't see my sourcetype in splunk web gui.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;WARN  FileClassifierManager - The file '/var/account/pacct' is invalid. Reason: binary
INFO  TailingProcessor - Ignoring file '/var/account/pacct' due to: binary
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone can post an exemple of a inputs.conf and props.conf that would let me load this binary file.&lt;/P&gt;

&lt;P&gt;Best,&lt;/P&gt;

&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 04:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36648#M6751</guid>
      <dc:creator>alexethier</dc:creator>
      <dc:date>2011-12-18T04:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can we monitor binary log data in splunk?  is invalid. Reason: binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36649#M6752</link>
      <description>&lt;P&gt;Is there a reason for using &lt;CODE&gt;monitor&lt;/CODE&gt; for this? The best option imho would be to run your pacct.py script directly as a script input and have Splunk simply read its stdout.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Dec 2011 22:52:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36649#M6752</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-12-18T22:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can we monitor binary log data in splunk?  is invalid. Reason: binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36650#M6753</link>
      <description>&lt;P&gt;No real reason.  I'm new to Splunk.  Thank you for the script input suggestion.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2011 20:57:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36650#M6753</guid>
      <dc:creator>alexethier</dc:creator>
      <dc:date>2011-12-21T20:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can we monitor binary log data in splunk?  is invalid. Reason: binary</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36651#M6754</link>
      <description>&lt;P&gt;You can simply ignore the binary check as well using the following props attribute.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#******************************************************************************
# Binary file configuration
#******************************************************************************

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).
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Apr 2012 19:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-monitor-binary-log-data-in-splunk-is-invalid-Reason/m-p/36651#M6754</guid>
      <dc:creator>carmackd</dc:creator>
      <dc:date>2012-04-20T19:41:48Z</dc:date>
    </item>
  </channel>
</rss>

