<?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 Blacklisting clarification in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39515#M7341</link>
    <description>&lt;P&gt;I am attempting to blacklist all files that end with these extensions in my inputs.conf file. The blacklist is not working correctly. These are image files located under a /images directory on the web server. These files are Not in the same directory as the log file. They are directory entries in the nginx-access log file contents. &lt;BR /&gt;
For example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/wd/code/websites/wd-current/www/images/* 
/wd/code/websites/wd-current/www/js/resources/*
/wd/code/websites/sample.it/www/resources/*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have attempted a few different methods. Any suggestions? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = oh.br0ther.com

[monitor:///var/log/nginx-access.log]
blacklist= \.(jpg|png|gif|mov|js|swf|mp4|jar|signed|flv)$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Nov 2012 02:18:48 GMT</pubDate>
    <dc:creator>Voltaire</dc:creator>
    <dc:date>2012-11-20T02:18:48Z</dc:date>
    <item>
      <title>Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39515#M7341</link>
      <description>&lt;P&gt;I am attempting to blacklist all files that end with these extensions in my inputs.conf file. The blacklist is not working correctly. These are image files located under a /images directory on the web server. These files are Not in the same directory as the log file. They are directory entries in the nginx-access log file contents. &lt;BR /&gt;
For example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/wd/code/websites/wd-current/www/images/* 
/wd/code/websites/wd-current/www/js/resources/*
/wd/code/websites/sample.it/www/resources/*
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have attempted a few different methods. Any suggestions? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = oh.br0ther.com

[monitor:///var/log/nginx-access.log]
blacklist= \.(jpg|png|gif|mov|js|swf|mp4|jar|signed|flv)$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Nov 2012 02:18:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39515#M7341</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2012-11-20T02:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39516#M7342</link>
      <description>&lt;P&gt;Are you trying to block files from being read by Splunk or to block specific lines of a logfile from being indexed?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 08:09:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39516#M7342</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-20T08:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39517#M7343</link>
      <description>&lt;P&gt;I am trying to block files from being read by splunk in those directories. &lt;BR /&gt;
Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:27:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39517#M7343</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2012-11-20T18:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39518#M7344</link>
      <description>&lt;P&gt;Your stanza will monitor only the following files:&lt;BR /&gt;&lt;BR /&gt;
1 - files named &lt;CODE&gt;/var/log/nginx-access.log&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;
2 - files underneath a directory named &lt;CODE&gt;/var/log/nginx-access.log&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Since this is &lt;STRONG&gt;not&lt;/STRONG&gt; the stanza that is monitoring the directories that you name, putting the blacklist here will not help.&lt;/P&gt;

&lt;P&gt;I don't see anything wrong with your blacklist, it just needs to be moved so that it will be part of the proper monitor stanza.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:45:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39518#M7344</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-11-20T18:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39519#M7345</link>
      <description>&lt;P&gt;In your file monitoring stanza above you are referencing a file and not a directory. If I wanted to monitor the images directory and blacklist all of the image files I would so something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///wd/code/websites/wd-current/www/images/*]
index = myindex
sourcetype = mysourcetype
blacklist= \.(jpg|png|gif|mov|js|swf|mp4|jar|signed|flv)$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 18:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39519#M7345</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-11-20T18:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39520#M7346</link>
      <description>&lt;P&gt;Thank you Lisa!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 19:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39520#M7346</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2012-11-20T19:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39521#M7347</link>
      <description>&lt;P&gt;Excellent, just modified inputs.conf on my forwarder. Would this command work if I wanted to exclude all files under the www directory in any of the subfolders? or do I have to add a different syntax ?&lt;BR /&gt;
for example&lt;BR /&gt;
[monitor:///wd/code/websites/wd-current/www/.../*]&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 19:07:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39521#M7347</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2012-11-20T19:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39522#M7348</link>
      <description>&lt;P&gt;Some examples here. You can use elipsis wildcards or *.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/data/Specifyinputpathswithwildcards"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2012 19:09:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39522#M7348</guid>
      <dc:creator>sdaniels</dc:creator>
      <dc:date>2012-11-20T19:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting clarification</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39523#M7349</link>
      <description>&lt;P&gt;Nice ! thats where I found the reference. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2012 01:22:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-clarification/m-p/39523#M7349</guid>
      <dc:creator>Voltaire</dc:creator>
      <dc:date>2012-11-21T01:22:06Z</dc:date>
    </item>
  </channel>
</rss>

