<?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 fschange stanza: allows wildcards? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25428#M4123</link>
    <description>&lt;P&gt;In inputs.conf, is a fschange stanza itself allowed to have wildcards (like monitors can, or props.conf stanzas can)?&lt;/P&gt;

&lt;P&gt;If so, which style is accepted, regular expressions (.* style) or weird Splunk stanza expressions (... style)?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2011 03:17:22 GMT</pubDate>
    <dc:creator>Jason</dc:creator>
    <dc:date>2011-01-13T03:17:22Z</dc:date>
    <item>
      <title>fschange stanza: allows wildcards?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25428#M4123</link>
      <description>&lt;P&gt;In inputs.conf, is a fschange stanza itself allowed to have wildcards (like monitors can, or props.conf stanzas can)?&lt;/P&gt;

&lt;P&gt;If so, which style is accepted, regular expressions (.* style) or weird Splunk stanza expressions (... style)?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 03:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25428#M4123</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2011-01-13T03:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: fschange stanza: allows wildcards?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25429#M4124</link>
      <description>&lt;P&gt;Yes.&lt;BR /&gt;
from inputs.conf.spec we have:  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#*******
# File system monitoring filters:
#*******

[filter:&amp;lt;filtertype&amp;gt;:&amp;lt;filtername&amp;gt;]
* Define a filter of type &amp;lt;filtertype&amp;gt; and name it &amp;lt;filtername&amp;gt;.

&amp;lt;filtertype&amp;gt;
* Filter types are either 'blacklist' or 'whitelist.' 
* A whitelist filter processes all file names that match the regex list.
* A blacklist filter skips all file names that match the regex list.

&amp;lt;filtername&amp;gt;
* The filter name is used in the comma-separated list when defining a file system monitor.

regex&amp;lt;integer&amp;gt; = &amp;lt;regex&amp;gt;    
* Blacklist and whitelist filters can include a set of regexes.
* The name of each regex MUST be 'regex&amp;lt;integer&amp;gt;', where &amp;lt;integer&amp;gt; starts at 1 and increments. 
* Splunk applies each regex in numeric order:
  regex1=&amp;lt;regex&amp;gt;
  regex2=&amp;lt;regex&amp;gt;
  ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;One thing to note however is that whitelist and blacklist for fschange are slightly different from the same in the [monitor] stanzas, in fschange, they work like firewall-whitelists/blacklists.
(ie, a whitelist does not create an implicit blacklist and vice-versa)&lt;/P&gt;

&lt;P&gt;Also note, you cannot use [monitor] and [fschange] for the same directory/file&lt;/P&gt;

&lt;P&gt;Lastly, regular expressions are the allowed ones. (.* rex)&lt;/P&gt;

&lt;P&gt;For more info: &lt;A href="http://www.splunk.com/base/Documentation/4.1.6/Admin/Inputsconf" rel="nofollow"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 03:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25429#M4124</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2011-01-13T03:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: fschange stanza: allows wildcards?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25430#M4125</link>
      <description>&lt;P&gt;So in other words, the stanza itself: [fschange:/path/.../to/path/] is a No?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 03:40:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25430#M4125</guid>
      <dc:creator>Jason</dc:creator>
      <dc:date>2011-01-13T03:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: fschange stanza: allows wildcards?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25431#M4126</link>
      <description>&lt;P&gt;i believe so. Best thing to do is actually by trying it...&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 06:39:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/fschange-stanza-allows-wildcards/m-p/25431#M4126</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2011-01-13T06:39:37Z</dc:date>
    </item>
  </channel>
</rss>

