<?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 Blacklist directory names not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98650#M20627</link>
    <description>&lt;P&gt;I've added the following blacklist line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/alert/logs]
blacklist = (bak|sqlsync|syncdb_log|sql_bak|WebCorder)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And yet I see in my sources the following files are being indexed for that monitor:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/usr/local/alert/logs/bak/ipdlog_new.12133 | 17,016
/usr/local/alert/logs/bak/ipdlog_new.18100 | 15,770
/usr/local/alert/logs/bak/ipdlog_new.9881 | 15,727 
/usr/local/alert/logs/WebCorder/FF27774.65391.72094_001_act_src.html | 1
/usr/local/alert/logs/WebCorder/FF27774.65391.72094_002_act_src.html | 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So clearly the blacklist is not working.&lt;/P&gt;

&lt;P&gt;Any help?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Dec 2010 04:51:12 GMT</pubDate>
    <dc:creator>jackal242</dc:creator>
    <dc:date>2010-12-03T04:51:12Z</dc:date>
    <item>
      <title>Blacklist directory names not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98650#M20627</link>
      <description>&lt;P&gt;I've added the following blacklist line:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/local/alert/logs]
blacklist = (bak|sqlsync|syncdb_log|sql_bak|WebCorder)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And yet I see in my sources the following files are being indexed for that monitor:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/usr/local/alert/logs/bak/ipdlog_new.12133 | 17,016
/usr/local/alert/logs/bak/ipdlog_new.18100 | 15,770
/usr/local/alert/logs/bak/ipdlog_new.9881 | 15,727 
/usr/local/alert/logs/WebCorder/FF27774.65391.72094_001_act_src.html | 1
/usr/local/alert/logs/WebCorder/FF27774.65391.72094_002_act_src.html | 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So clearly the blacklist is not working.&lt;/P&gt;

&lt;P&gt;Any help?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 04:51:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98650#M20627</guid>
      <dc:creator>jackal242</dc:creator>
      <dc:date>2010-12-03T04:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist directory names not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98651#M20628</link>
      <description>&lt;P&gt;I found the problem.&lt;/P&gt;

&lt;P&gt;The problem is that I had already indexed the directory once without the blacklist and nothing removed those sources.&lt;/P&gt;

&lt;P&gt;I thought removing the monitor and readding it with the blacklist would remove all the unwanted directories.&lt;/P&gt;

&lt;P&gt;I had to do a "splunk clean eventdata" to get it to remove all the unwanted source directories that are now in the blacklist.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 05:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98651#M20628</guid>
      <dc:creator>jackal242</dc:creator>
      <dc:date>2010-12-03T05:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist directory names not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98652#M20629</link>
      <description>&lt;P&gt;(Some additional information for you)&lt;/P&gt;

&lt;P&gt;The "Search" app's initial Dashboard (the Summary page) is generated by running several searches against the already-indexed data.  The sources list runs the following search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata sources
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This includes an up to date event count which is updated roughly every 25 seconds.  More info on the metadata command is available at &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Metadata" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/Metadata&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;As you commented, removing an input from Splunk does not delete already indexed data from the index - it stops Splunk from indexing any additional data from those files.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 20:53:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98652#M20629</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-12-03T20:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist directory names not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98653#M20630</link>
      <description>&lt;P&gt;Thanks Amrit for the additional detail here.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2010 20:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-directory-names-not-working/m-p/98653#M20630</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-12-03T20:53:38Z</dc:date>
    </item>
  </channel>
</rss>

