<?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 need help setting up a blacklist in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/need-help-setting-up-a-blacklist/m-p/38823#M7180</link>
    <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;Trying to make a custom blacklist for one of my input monitor points that excludes certain directories and filetypes (gz). &lt;/P&gt;

&lt;P&gt;This is when I have so far:&lt;/P&gt;

&lt;H2&gt;inputs.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]

host = myhost

[monitor:///my_monitor_point]

disabled = false

blacklist = (subfolder1|subfolder2|subfolder3|subfolder4|\.gz$|\.\d+$)


index = my_index


sourcetype = my_source_type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone confirm if this is the correct way to do this?&lt;/P&gt;

&lt;P&gt;Thanks. &lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2011 23:26:13 GMT</pubDate>
    <dc:creator>balbano</dc:creator>
    <dc:date>2011-07-06T23:26:13Z</dc:date>
    <item>
      <title>need help setting up a blacklist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-setting-up-a-blacklist/m-p/38823#M7180</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;

&lt;P&gt;Trying to make a custom blacklist for one of my input monitor points that excludes certain directories and filetypes (gz). &lt;/P&gt;

&lt;P&gt;This is when I have so far:&lt;/P&gt;

&lt;H2&gt;inputs.conf&lt;/H2&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]

host = myhost

[monitor:///my_monitor_point]

disabled = false

blacklist = (subfolder1|subfolder2|subfolder3|subfolder4|\.gz$|\.\d+$)


index = my_index


sourcetype = my_source_type
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone confirm if this is the correct way to do this?&lt;/P&gt;

&lt;P&gt;Thanks. &lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2011 23:26:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-setting-up-a-blacklist/m-p/38823#M7180</guid>
      <dc:creator>balbano</dc:creator>
      <dc:date>2011-07-06T23:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: need help setting up a blacklist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/need-help-setting-up-a-blacklist/m-p/38824#M7181</link>
      <description>&lt;P&gt;yes, the above will work. However, it's probably unnecessary to specify the &lt;CODE&gt;host&lt;/CODE&gt; as it will be inherited or derived from the local machine name, unless you need it to be different. If you do, it may make sense to specify it under the [monitor] stanza rather than [default], but really it depends on the rest of your usage.&lt;/P&gt;

&lt;P&gt;Note that your blacklist might be too broad, e.g., if one of your subfolders is called "bin", then you will also exclude any file named "binary.log" as well as everything in a directory named "bingo". You'd need to make your regex more specific if you want to avoid that happening.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2011 03:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/need-help-setting-up-a-blacklist/m-p/38824#M7181</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-07-07T03:45:42Z</dc:date>
    </item>
  </channel>
</rss>

