<?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 Blacklist regular expression not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321475#M59941</link>
    <description>&lt;P&gt;I want to blacklist below 2 files:&lt;/P&gt;

&lt;P&gt;op_fe-run_autostat*.log&lt;BR /&gt;
op_fe-proteus_prod_archive*.log&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;here can be any number/characters&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I used below regex but the same is not working. Can someone please help.&lt;/P&gt;

&lt;P&gt;blacklist = .(run_autostat|proteus_prod_archive).log$&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 17:04:49 GMT</pubDate>
    <dc:creator>AnmolKohli</dc:creator>
    <dc:date>2020-09-29T17:04:49Z</dc:date>
    <item>
      <title>Blacklist regular expression not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321475#M59941</link>
      <description>&lt;P&gt;I want to blacklist below 2 files:&lt;/P&gt;

&lt;P&gt;op_fe-run_autostat*.log&lt;BR /&gt;
op_fe-proteus_prod_archive*.log&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;here can be any number/characters&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I used below regex but the same is not working. Can someone please help.&lt;/P&gt;

&lt;P&gt;blacklist = .(run_autostat|proteus_prod_archive).log$&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321475#M59941</guid>
      <dc:creator>AnmolKohli</dc:creator>
      <dc:date>2020-09-29T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist regular expression not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321476#M59942</link>
      <description>&lt;P&gt;shouldn't it be &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.(run_autostat|proteus_prod_archive).*\.log$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 06 Dec 2017 13:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321476#M59942</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2017-12-06T13:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist regular expression not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321477#M59943</link>
      <description>&lt;P&gt;Can you please post your filename and regex with &lt;CODE&gt;Code Sample format (Please use button 101010)&lt;/CODE&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 13:09:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321477#M59943</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2017-12-06T13:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist regular expression not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321478#M59944</link>
      <description>&lt;P&gt;inputs.conf?&lt;/P&gt;

&lt;P&gt;You should include one of these keys: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/MonitorWindowseventlogdata#Create_advanced_filters_with_.27whitelist.27_and_.27blacklist.27" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/MonitorWindowseventlogdata#Create_advanced_filters_with_.27whitelist.27_and_.27blacklist.27&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;so yours might be something like:&lt;BR /&gt;
blacklist1 = Message=%.&lt;EM&gt;(run_autostat|proteus_prod_archive).&lt;/EM&gt;.log%&lt;/P&gt;

&lt;P&gt;depending on where the string is in the message field, in might also be&lt;BR /&gt;
blacklist1 = Message=%^.&lt;EM&gt;(run_autostat|proteus_prod_archive).&lt;/EM&gt;.log$%&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-regular-expression-not-working/m-p/321478#M59944</guid>
      <dc:creator>amaynardclarku</dc:creator>
      <dc:date>2020-09-29T17:14:16Z</dc:date>
    </item>
  </channel>
</rss>

