<?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 Blacklisting is not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490190#M83781</link>
    <description>&lt;P&gt;Hi , I am monitoring a file path , i am ingesting the logs also i am blacklisting some folders in the directory which is working and i am trying to add one more blacklisting path but its not working , what i am doing wrong here ?&lt;/P&gt;

&lt;P&gt;[monitor://\xxxx\Logs\Prod...*.log]&lt;BR /&gt;
blacklist = TaskAudit|webmanager|web_S*.log||enterpriseSecurity*.log|(\\SXXXXX\Logs\Prod\PlatformServices)&lt;/P&gt;

&lt;P&gt;i wanna blacklist the last one platform services log but cant able to do it , tried to add a regex but nothing working.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:20:42 GMT</pubDate>
    <dc:creator>Prakash493</dc:creator>
    <dc:date>2020-09-30T02:20:42Z</dc:date>
    <item>
      <title>Blacklisting is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490190#M83781</link>
      <description>&lt;P&gt;Hi , I am monitoring a file path , i am ingesting the logs also i am blacklisting some folders in the directory which is working and i am trying to add one more blacklisting path but its not working , what i am doing wrong here ?&lt;/P&gt;

&lt;P&gt;[monitor://\xxxx\Logs\Prod...*.log]&lt;BR /&gt;
blacklist = TaskAudit|webmanager|web_S*.log||enterpriseSecurity*.log|(\\SXXXXX\Logs\Prod\PlatformServices)&lt;/P&gt;

&lt;P&gt;i wanna blacklist the last one platform services log but cant able to do it , tried to add a regex but nothing working.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490190#M83781</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2020-09-30T02:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490191#M83782</link>
      <description>&lt;P&gt;Would help if you have an actual directory listing.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 03:13:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490191#M83782</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2019-09-26T03:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490192#M83783</link>
      <description>&lt;P&gt;Looks like you have two pipes in the middle || - not sure if Splunk will just ignore that or if it will cause issues.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist = TaskAudit|webmanager|web_S*.log|enterpriseSecurity*.log|PlatformServices$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As a strategy, I rarely use whitelists or blacklists unless absolutely necessary. Usually it is more work to configure, and often results in Splunk working harder to scan the directories/files it's trying to monitor. I would first attempt to use the implicit whitelist in your monitoring stanza even if you have to create 2 or 3. It also makes it simple to test with a simple dir command on Windows or ls command on Unix in most cases.&lt;/P&gt;

&lt;P&gt;i.e.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://\\xxxx\Logs\Prod_something_more_specific_here*.log]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Sep 2019 03:25:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490192#M83783</guid>
      <dc:creator>bandit</dc:creator>
      <dc:date>2019-09-26T03:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklisting is not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490193#M83784</link>
      <description>&lt;P&gt;yes its works thanks its because of two pipes i tried with a single pipe and got worked.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 16:31:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklisting-is-not-working/m-p/490193#M83784</guid>
      <dc:creator>Prakash493</dc:creator>
      <dc:date>2019-09-27T16:31:30Z</dc:date>
    </item>
  </channel>
</rss>

