<?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: ERROR TailingProcessor - matching incorrect files? in Security</title>
    <link>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63454#M13967</link>
    <description>&lt;P&gt;Hi lakshman237&lt;/P&gt;

&lt;P&gt;The docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/admin/Inputsconf&lt;/A&gt; say about recursive:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;recursive = [true|false]
* If false, Splunk will not monitor subdirectories found within a monitored directory.
* Defaults to true.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but as in your stanza you are monitoring a file and not a directory.&lt;/P&gt;

&lt;P&gt;Since you use black- and whitelists; What happens, if you change your monitor stanza to match only the path but not a wildcarded file?&lt;/P&gt;

&lt;P&gt;Verify your settings with &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; and checked the result?&lt;/P&gt;

&lt;P&gt;cheers,&lt;/P&gt;

&lt;P&gt;MuS&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2012 06:40:17 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2012-12-14T06:40:17Z</dc:date>
    <item>
      <title>ERROR TailingProcessor - matching incorrect files?</title>
      <link>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63453#M13966</link>
      <description>&lt;P&gt;I have my inputs.conf as follows on a linux env.&lt;/P&gt;

&lt;P&gt;[monitor:///mydomain/logs/project/mytestlogs*.txt]&lt;BR /&gt;
blacklist = .(gz)$&lt;BR /&gt;
whitelist = mytestlogs[1-4]{1}.txt&lt;BR /&gt;
disabled = false&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
recursive = false&lt;BR /&gt;
sourcetype = mydlogs&lt;BR /&gt;
index = mydindex&lt;/P&gt;

&lt;P&gt;however, when the splunk process starts up, it shows errors like&lt;BR /&gt;
 ERROR TailingProcessor - matching /mydomain/logs/project/club/ against ^/mydomain/logs/project/myestlogs[^/]*.txt$&lt;/P&gt;

&lt;P&gt;why it is looking at subdirectory, when recursive is set to false? how to avoid these ones?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2012 00:56:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63453#M13966</guid>
      <dc:creator>lakshman237</dc:creator>
      <dc:date>2012-12-14T00:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailingProcessor - matching incorrect files?</title>
      <link>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63454#M13967</link>
      <description>&lt;P&gt;Hi lakshman237&lt;/P&gt;

&lt;P&gt;The docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.1/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.1/admin/Inputsconf&lt;/A&gt; say about recursive:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;recursive = [true|false]
* If false, Splunk will not monitor subdirectories found within a monitored directory.
* Defaults to true.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but as in your stanza you are monitoring a file and not a directory.&lt;/P&gt;

&lt;P&gt;Since you use black- and whitelists; What happens, if you change your monitor stanza to match only the path but not a wildcarded file?&lt;/P&gt;

&lt;P&gt;Verify your settings with &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; and checked the result?&lt;/P&gt;

&lt;P&gt;cheers,&lt;/P&gt;

&lt;P&gt;MuS&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2012 06:40:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63454#M13967</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-12-14T06:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR TailingProcessor - matching incorrect files?</title>
      <link>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63455#M13968</link>
      <description>&lt;P&gt;Thanks MuS. I can change the monitor stanza to look at the directory and change the whitelist to allow it. I'll test that out. The reason i had them separately, was there a lot of files on that directory, i wanted them get handful of them to a given sourcetype and others to another... ( possibily this could also be controlled via whitelist)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2012 13:06:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/ERROR-TailingProcessor-matching-incorrect-files/m-p/63455#M13968</guid>
      <dc:creator>lakshman237</dc:creator>
      <dc:date>2012-12-14T13:06:07Z</dc:date>
    </item>
  </channel>
</rss>

