<?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: How to blacklist or whitelist logs monitored in a Windows directory? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182884#M36645</link>
    <description>&lt;P&gt;hi satishdange .. thanks, but it doesn't forward data to indexer .. what else do u think?&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2015 07:57:49 GMT</pubDate>
    <dc:creator>shariinPH</dc:creator>
    <dc:date>2015-03-11T07:57:49Z</dc:date>
    <item>
      <title>How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182882#M36643</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have to monitor a specific folder in a certain directory&lt;BR /&gt;
For example my path is&lt;BR /&gt;
&lt;CODE&gt;G:\opdata\my_data\motherfolder\&lt;/CODE&gt;&lt;BR /&gt;
inside the &lt;STRONG&gt;motherfolder&lt;/STRONG&gt; directory, there are sub directories which are&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01 Jan 2015
02 Feb 2015
020115
030115
anotherfoldername
anotherfoldername2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have to monitor the logs with the filenames &lt;EM&gt;**sunn.txt&lt;/EM&gt;* on the directories with the format &lt;STRONG&gt;mmddyy&lt;/STRONG&gt; which will match the directories 020115 and 030115&lt;/P&gt;

&lt;P&gt;in my inputs.conf, i tried to put&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://G:\opdata\my_data\motherfolder\*\*sunn.txt]
disabled = false
index = myindex
sourcetype = mysc
_TCP_ROUTING=devmay
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it doesnt forward anything on my indexer so i tried this one &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://G:\opdata\my_data\motherfolder\...\*sunn.txt]
disabled = false
index = myindex
sourcetype = mysc
_TCP_ROUTING=devmay
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the problem here is all the files with &lt;EM&gt;sunn.txt were indexed, even files that has the *&lt;/EM&gt;&lt;EM&gt;sunn.txt&lt;/EM&gt;* in the 01 Jan 2015 and 02 Feb 2015  were indexed. &lt;/P&gt;

&lt;P&gt;I'm thinking to use blacklist or whitelist, but I'm having trouble to use them.&lt;BR /&gt;
Help me pls.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182882#M36643</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-03-11T06:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182883#M36644</link>
      <description>&lt;P&gt;could you please try below &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://G:\opdata\my_data\motherfolder\]
whitelist = \d+\*sunn.txt
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182883#M36644</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-11T07:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182884#M36645</link>
      <description>&lt;P&gt;hi satishdange .. thanks, but it doesn't forward data to indexer .. what else do u think?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182884#M36645</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-03-11T07:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182885#M36646</link>
      <description>&lt;P&gt;If your query is still open, you may use below -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://G:\opdata\my_data\motherfolder\]
     whitelist = \d{6}\*sunn.txt
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Mar 2015 13:20:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182885#M36646</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-12T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182886#M36647</link>
      <description>&lt;P&gt;It still doesnt work ..or does this configuration takes time before it takes effect?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 02:17:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182886#M36647</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-03-16T02:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182887#M36648</link>
      <description>&lt;P&gt;did you restart UF?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 04:19:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182887#M36648</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-03-16T04:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist or whitelist logs monitored in a Windows directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182888#M36649</link>
      <description>&lt;P&gt;yes i've done it&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 05:30:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-or-whitelist-logs-monitored-in-a-Windows/m-p/182888#M36649</guid>
      <dc:creator>shariinPH</dc:creator>
      <dc:date>2015-03-17T05:30:12Z</dc:date>
    </item>
  </channel>
</rss>

