<?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 do blacklisted logs index to main? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-blacklisted-logs-index-to-main/m-p/242170#M46954</link>
    <description>&lt;P&gt;I'd guess that you have another monitor stanza somewhere that's doing this. &lt;/P&gt;

&lt;P&gt;Please run &lt;CODE&gt;$splunkhome/bin/splunk cmd btool inputs list&lt;/CODE&gt; and look through those results.  If nothing pops out there, please run  &lt;CODE&gt;$splunkhome/bin/splunk cmd btool inputs list &amp;gt; myfile.txt&lt;/CODE&gt; and then edit/read the resulting file and look through it.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Nov 2015 02:51:17 GMT</pubDate>
    <dc:creator>Richfez</dc:creator>
    <dc:date>2015-11-22T02:51:17Z</dc:date>
    <item>
      <title>Why do blacklisted logs index to main?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-blacklisted-logs-index-to-main/m-p/242169#M46953</link>
      <description>&lt;P&gt;I have a group of hosts that use the blacklist function in a monitor stanza in inputs.conf. Here is the referenced stanza:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/Interwoven/LiveSiteDisplayServices/runtime/tomcat/logs/*.log]
sourcetype = log4j
source = sfo-lsds-log
index = tnt13
blacklist = (http-client\.log$|globalsession\.log$|snapfish\.log$|livesite-runtime\.log$|catalina\.out$)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;All of the logs in the blacklist do NOT get indexed to the referenced index (tnt13) in the stanza, but do get indexed to Main. &lt;/P&gt;

&lt;P&gt;I have also tried the following, but the issue of events indexing to main persists:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/Interwoven/LiveSiteDisplayServices/runtime/tomcat/logs/]
sourcetype = log4j
source = sfo-lsds-log
index = tnt13
blacklist = http-client\.log$|globalsession\.log$|snapfish\.log$|livesite-runtime\.log$|catalina\.out$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also of note, the source defined in the stanza does not appear to apply to the events as indexed in tnt13 or main.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 19:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-blacklisted-logs-index-to-main/m-p/242169#M46953</guid>
      <dc:creator>mdinkins</dc:creator>
      <dc:date>2015-11-20T19:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why do blacklisted logs index to main?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-blacklisted-logs-index-to-main/m-p/242170#M46954</link>
      <description>&lt;P&gt;I'd guess that you have another monitor stanza somewhere that's doing this. &lt;/P&gt;

&lt;P&gt;Please run &lt;CODE&gt;$splunkhome/bin/splunk cmd btool inputs list&lt;/CODE&gt; and look through those results.  If nothing pops out there, please run  &lt;CODE&gt;$splunkhome/bin/splunk cmd btool inputs list &amp;gt; myfile.txt&lt;/CODE&gt; and then edit/read the resulting file and look through it.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2015 02:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-blacklisted-logs-index-to-main/m-p/242170#M46954</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-11-22T02:51:17Z</dc:date>
    </item>
  </channel>
</rss>

