<?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 is not indexing log events that may have binary content in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59855#M11835</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;_blacklist = .(gz|log.&lt;EM&gt;|out.&lt;/EM&gt;|run.properties)$&lt;BR /&gt;
_rcvbuf = 1572864&lt;BR /&gt;
blacklist = .(gz|log.&lt;EM&gt;|out.&lt;/EM&gt;)$&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = abc.com&lt;BR /&gt;
index = default&lt;BR /&gt;
sourcetype = azkaban&lt;/P&gt;

&lt;P&gt;You are blacklisting .log&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2012 01:07:36 GMT</pubDate>
    <dc:creator>RicoSuave</dc:creator>
    <dc:date>2012-12-12T01:07:36Z</dc:date>
    <item>
      <title>Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59852#M11832</link>
      <description>&lt;P&gt;I have a source log that sometimes contains binary characters.  Splunk is not indexing any events for this source type. The source type in question was configured as follow at the universal forwarder:&lt;BR /&gt;
This configuration should work but it is not... Any idea...&lt;/P&gt;

&lt;P&gt;I tried with NO_BINARY_CHECK = true and NO_BINARY_CHECK = false.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;

&lt;P&gt;inputs.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
sourcetype = azkaban
_blacklist=\.(gz|log.*|out.*|run.properties)$
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[azkaban]
NO_BINARY_CHECK = true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem is that this source type is not being indexed and events are being appended. Splunkd.log does not complain about it. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-11-2012 14:24:37.318 +0000 INFO  TailingProcessor - Parsing configuration stanza: monitor:///usr/local/azkaban/logs/azkaban.log.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Btool reports:&lt;BR /&gt;
inputs&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
_blacklist = \.(gz|log.*|out.*|run.properties)$
_rcvbuf = 1572864
blacklist = \.(gz|log.*|out.*)$
disabled = false
host = abc.com
index = default
sourcetype = azkaban
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[azkaban]
ANNOTATE_PUNCT = True
BREAK_ONLY_BEFORE =
BREAK_ONLY_BEFORE_DATE = True
CHARSET = UTF-8
DATETIME_CONFIG = /etc/datetime.xml
HEADER_MODE =
LEARN_SOURCETYPE = true
LINE_BREAKER_LOOKBEHIND = 100
MAX_DAYS_AGO = 2000
MAX_DAYS_HENCE = 2
MAX_DIFF_SECS_AGO = 3600
MAX_DIFF_SECS_HENCE = 604800
MAX_EVENTS = 256
MAX_TIMESTAMP_LOOKAHEAD = 128
MUST_BREAK_AFTER =
MUST_NOT_BREAK_AFTER =
MUST_NOT_BREAK_BEFORE =
NO_BINARY_CHECK = true
SEGMENTATION = indexing
SEGMENTATION-all = full
SEGMENTATION-inner = inner
SEGMENTATION-outer = outer
SEGMENTATION-raw = none
SEGMENTATION-standard = standard
SHOULD_LINEMERGE = True
TRANSFORMS =
TRUNCATE = 10000
TZ = UTC
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59852#M11832</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2020-09-28T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59853#M11833</link>
      <description>&lt;P&gt;Your config looks wrong to me, from the docs;&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).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;At the moment you have it configured to ignore binary files&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2012 14:53:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59853#M11833</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-12-11T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59854#M11834</link>
      <description>&lt;P&gt;I tried both ways:&lt;/P&gt;

&lt;P&gt;NO_BINARY_CHECK = true and NO_BINARY_CHECK = false&lt;/P&gt;

&lt;P&gt;Still does not work. Any ideas...&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59854#M11834</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2020-09-28T12:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59855#M11835</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;_blacklist = .(gz|log.&lt;EM&gt;|out.&lt;/EM&gt;|run.properties)$&lt;BR /&gt;
_rcvbuf = 1572864&lt;BR /&gt;
blacklist = .(gz|log.&lt;EM&gt;|out.&lt;/EM&gt;)$&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = abc.com&lt;BR /&gt;
index = default&lt;BR /&gt;
sourcetype = azkaban&lt;/P&gt;

&lt;P&gt;You are blacklisting .log&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 01:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59855#M11835</guid>
      <dc:creator>RicoSuave</dc:creator>
      <dc:date>2012-12-12T01:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59856#M11836</link>
      <description>&lt;P&gt;I disagree. I am blacklisting "&lt;EM&gt;.log.&lt;/EM&gt;". See the initial question.&lt;/P&gt;

&lt;P&gt;_blacklist=.(gz|log.&lt;EM&gt;|out.&lt;/EM&gt;|run.properties)$&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 02:20:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59856#M11836</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-12-12T02:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59857#M11837</link>
      <description>&lt;P&gt;For the benefit of doubt I tried your recommended blacklist. It worked. I do not see why the _blacklist presented in original question should not work. &lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
LP&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 15:59:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59857#M11837</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-12-12T15:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59858#M11838</link>
      <description>&lt;P&gt;My original config was this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
sourcetype = azkaban
_blacklist=\.(gz|log.*|out.*|run.properties)$
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I changed it to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
sourcetype = azkaban
blacklist=.(gz|log.*|out.*|run.properties)$
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the source type is back to work.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 16:16:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59858#M11838</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-12-12T16:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk is not indexing log events that may have binary content</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59859#M11839</link>
      <description>&lt;P&gt;My original config was this one:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
sourcetype = azkaban
_blacklist=\.(gz|log.*|out.*|run.properties)$
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I changed it to:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/azkaban/logs/azkaban.log]
sourcetype = azkaban
blacklist=.(gz|log.*|out.*|run.properties)$
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And the source type is back to work.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 16:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-is-not-indexing-log-events-that-may-have-binary-content/m-p/59859#M11839</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-12-12T16:21:50Z</dc:date>
    </item>
  </channel>
</rss>

