<?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 What is the correct syntax to have fschange search multiple directories? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-syntax-to-have-fschange-search-multiple/m-p/84643#M17591</link>
    <description>&lt;P&gt;Will the following work:&lt;/P&gt;

&lt;P&gt;[fschange:C:\Program Files\progam|D:\File\group]&lt;/P&gt;

&lt;P&gt;Should replace "|" with "OR",or should i use "&amp;amp;" or "AND".  I am trying to monitor file changes to multiple directories using a single fschange statement.  I would prefer to not use multiple fschange statements requiring changes to the same attributes for each fschange.  If boolean logic cannot be used, is there a way to use a function to define the attributes for fschange?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Oct 2012 15:09:11 GMT</pubDate>
    <dc:creator>nick085</dc:creator>
    <dc:date>2012-10-09T15:09:11Z</dc:date>
    <item>
      <title>What is the correct syntax to have fschange search multiple directories?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-syntax-to-have-fschange-search-multiple/m-p/84643#M17591</link>
      <description>&lt;P&gt;Will the following work:&lt;/P&gt;

&lt;P&gt;[fschange:C:\Program Files\progam|D:\File\group]&lt;/P&gt;

&lt;P&gt;Should replace "|" with "OR",or should i use "&amp;amp;" or "AND".  I am trying to monitor file changes to multiple directories using a single fschange statement.  I would prefer to not use multiple fschange statements requiring changes to the same attributes for each fschange.  If boolean logic cannot be used, is there a way to use a function to define the attributes for fschange?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 15:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-syntax-to-have-fschange-search-multiple/m-p/84643#M17591</guid>
      <dc:creator>nick085</dc:creator>
      <dc:date>2012-10-09T15:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct syntax to have fschange search multiple directories?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-syntax-to-have-fschange-search-multiple/m-p/84644#M17592</link>
      <description>&lt;P&gt;I am sorry, but I dont believe Splunks allows you to perform boolean logic.  If you like to use a single fschange entry will most likely have to use File system monitoring filters. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;BR /&gt;
[fschange:/etc] &lt;BR /&gt;
filters = nothis,dothis &lt;BR /&gt;
[filter:blacklist:nothis] &lt;BR /&gt;
regex1 = .*bak&lt;BR /&gt;
regex2 = .*bk&lt;BR /&gt;
[filter:whitelist:dothis] &lt;BR /&gt;
regex1 = .&lt;EM&gt;\.c &lt;BR /&gt;
regex2 = .&lt;/EM&gt;\.h &lt;BR /&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/Monitorchangestoyourfilesystem"&gt;Using FSchange&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 16:27:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-correct-syntax-to-have-fschange-search-multiple/m-p/84644#M17592</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2012-10-09T16:27:06Z</dc:date>
    </item>
  </channel>
</rss>

