<?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 specific occurrences of a particular eventcode? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340681#M62817</link>
    <description>&lt;P&gt;Hello Giuseppe,&lt;/P&gt;

&lt;P&gt;I think you may of misunderstood what I was asking.  I need to keep 4688 events except for the few specific ones I listed in my post.  My issue has been figuring out how to make the blacklist acknowledge which components I want it to filter.  All my previous attempts to filter specific 4688 events have stopped ALL 4688 events from coming in rather than ones I don't want.  In summary, I need to know if there is in fact a way to blacklist what I am trying to do just like Splunk's documentation has suggested.  &lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
James&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 15:37:43 GMT</pubDate>
    <dc:creator>jh007</dc:creator>
    <dc:date>2017-08-02T15:37:43Z</dc:date>
    <item>
      <title>How to blacklist specific occurrences of a particular eventcode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340679#M62815</link>
      <description>&lt;P&gt;I am attempting to blacklist a series of process creation events (eventcode 4688) because they are noise and will break my index cap.  In short, I need to be able to keep 4688 events while filtering out the garbage.  Here is what I have so far:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist1 = EventCode="4688" Message="(.*splunk.*|.*WmiP.*|.*SearchFilterHost.*|.*taskhost.*|.*TrustedInstaller.*|.*dllhost.*).*.exe"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help would be greatly appreciated.   &lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 22:05:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340679#M62815</guid>
      <dc:creator>jh007</dc:creator>
      <dc:date>2017-08-01T22:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist specific occurrences of a particular eventcode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340680#M62816</link>
      <description>&lt;P&gt;Hi  jh007,&lt;BR /&gt;
you could filter these events on the indexer before indexing:&lt;BR /&gt;
in &lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-set-AS=set_AS,set_nullqueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in &lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# nullqueue #
[set_nullqueue]
REGEX=EventCode\=4688
DEST_KEY=queue
FORMAT=nullQueue
# AS #
[set_AS]
REGEX=.
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Beware how it's written  EventCode=4688: if there are spaces or brackets modify my regex.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 07:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340680#M62816</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-02T07:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist specific occurrences of a particular eventcode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340681#M62817</link>
      <description>&lt;P&gt;Hello Giuseppe,&lt;/P&gt;

&lt;P&gt;I think you may of misunderstood what I was asking.  I need to keep 4688 events except for the few specific ones I listed in my post.  My issue has been figuring out how to make the blacklist acknowledge which components I want it to filter.  All my previous attempts to filter specific 4688 events have stopped ALL 4688 events from coming in rather than ones I don't want.  In summary, I need to know if there is in fact a way to blacklist what I am trying to do just like Splunk's documentation has suggested.  &lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
James&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 15:37:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340681#M62817</guid>
      <dc:creator>jh007</dc:creator>
      <dc:date>2017-08-02T15:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist specific occurrences of a particular eventcode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340682#M62818</link>
      <description>&lt;P&gt;Hi jh007,&lt;BR /&gt;
if your need is to take all events with 4688 except the ones you listed, you have to modify my transforms.conf (props.conf is the same) as following&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; # nullqueue #
 [set_nullqueue]
 REGEX=Message\=\"(.*splunk.*|.*WmiP.*|.*SearchFilterHost.*|.*taskhost.*|.*TrustedInstaller.*|.*dllhost.*).*.exe\"
 DEST_KEY=queue
 FORMAT=nullQueue
 # AS #
 [set_AS]
 REGEX=EventCode\=4688
 DEST_KEY = queue
 FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 15:44:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340682#M62818</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-02T15:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to blacklist specific occurrences of a particular eventcode?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340683#M62819</link>
      <description>&lt;P&gt;Hello Giuseppe,&lt;/P&gt;

&lt;P&gt;So I got the blacklist working for one event through the inputs.conf file. (see below)&lt;/P&gt;

&lt;P&gt;blacklist1 = EventCode="4688" Message=".*[\S\s]*Account\sName:\s+[\S+]+[\$]" &lt;/P&gt;

&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-specific-occurrences-of-a-particular-eventcode/m-p/340683#M62819</guid>
      <dc:creator>jh007</dc:creator>
      <dc:date>2020-09-29T15:21:56Z</dc:date>
    </item>
  </channel>
</rss>

