<?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 Re: not picking up monitored file - No configurations match in Security</title>
    <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18577#M13670</link>
    <description>&lt;P&gt;see above for full stanza&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2011 19:34:33 GMT</pubDate>
    <dc:creator>gekoner</dc:creator>
    <dc:date>2011-05-27T19:34:33Z</dc:date>
    <item>
      <title>not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18574#M13667</link>
      <description>&lt;P&gt;I have a very similar issues as MasterOogway mine is just on Windows. Running ver 4.1.6&lt;BR /&gt;
I have a simple monitor set to watch for a specific file name with a regex to define the date stamped file. The file in question is named, /Logs/20110321/SERVER_APP_01_20110321_0001.txt&lt;/P&gt;

&lt;P&gt;On my LWF I have the following simple inputs.conf definition:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;F:\Program Files (x86)\App\App Server\Logs\...\*.txt.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;From ../splunkd.log I get the following error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;DEBUG TailingProcessor - No configurations match, will ignore path='F:\Program Files (x86)\App\App Server\Logs\20110321\SERVER_APP_01_20110321_0001.txt

DEBUG TailingProcessor -     Not using stanza for this item (Did not match whitelist '^F:\\Program Files (x86)\\App\\App Server\\Logs\\.*\\[^\\]*\.txt$'.).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;My question is, "why does this not match?" It obviously finds the file based on the regex. &lt;/P&gt;

&lt;P&gt;FULL STANZA&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#Monitor App Server Logs
[monitor://F:\Program Files (x86)\App\App Server\Logs\...\*.txt]
sourcetype = APP
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18574#M13667</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2020-09-28T09:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18575#M13668</link>
      <description>&lt;P&gt;ohh, and I tried adding "crcSalt = &lt;SOURCE&gt;" to inputs.conf&lt;/SOURCE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 19:29:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18575#M13668</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-05-27T19:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18576#M13669</link>
      <description>&lt;P&gt;I wouldn't expect crcSalt to do anything under these circumstances. This has to do with the whitelist not being matched, which isn't affected by the salt. Could you paste the entire monitor stanza into the description from your inputs.conf?&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 19:31:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18576#M13669</guid>
      <dc:creator>jbsplunk</dc:creator>
      <dc:date>2011-05-27T19:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18577#M13670</link>
      <description>&lt;P&gt;see above for full stanza&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 19:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18577#M13670</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-05-27T19:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18578#M13671</link>
      <description>&lt;P&gt;Interesting, it might be a bug. The regex contains &lt;CODE&gt;(x86)&lt;/CODE&gt;, and the parentheses there are only used to group, not to match. The correct matching regex would have &lt;CODE&gt;\(x86\)&lt;/CODE&gt; instead. That should have been generated correctly by Splunk from the monitor clause. I'm not sure of a good workaround.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2011 23:10:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18578#M13671</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-05-27T23:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: not picking up monitored file - No configurations match</title>
      <link>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18579#M13672</link>
      <description>&lt;P&gt;Looks like there is a problem with the wildcards ... and *.&lt;/P&gt;

&lt;P&gt;Tried with a whitelist instead and it works.&lt;BR /&gt;
[monitor://F:\Program Files (x86)\App\App Server\Logs] sourcetype = APP whitelist = *..txt$ recursive = true&lt;/P&gt;

&lt;P&gt;Thank you Splunk support - Yann&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2011 15:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/not-picking-up-monitored-file-No-configurations-match/m-p/18579#M13672</guid>
      <dc:creator>gekoner</dc:creator>
      <dc:date>2011-06-01T15:41:51Z</dc:date>
    </item>
  </channel>
</rss>

