<?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: WinEvent Filtering on Heavy Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17690#M2333</link>
    <description>&lt;P&gt;Take a look at this answer regarding whitelisting specific event codes to be forwarded.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/9076/how-to-configure-a-forwarder-to-filter-and-send-only-the-events-i-want" rel="nofollow"&gt;http://answers.splunk.com/questions/9076/how-to-configure-a-forwarder-to-filter-and-send-only-the-events-i-want&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2010 07:14:17 GMT</pubDate>
    <dc:creator>maverick</dc:creator>
    <dc:date>2010-11-17T07:14:17Z</dc:date>
    <item>
      <title>WinEvent Filtering on Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17686#M2329</link>
      <description>&lt;P&gt;Hi,
Trying to send all eventIDs from  WinEventLog:Security to  NullQueue with the exception of 592 and 593. Still getting all security events indexed :&amp;lt;   props.conf and transforms.conf, located in Splunk\etc\system\local on the forwarder are as follows:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TRANSFORMS-set=setnull,setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = (?m)^EventCode=(592|593)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks, Andie&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 03:36:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17686#M2329</guid>
      <dc:creator>stockwel</dc:creator>
      <dc:date>2010-07-20T03:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: WinEvent Filtering on Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17687#M2330</link>
      <description>&lt;P&gt;Hi, a couple things.&lt;/P&gt;

&lt;P&gt;1) If you use a LightWeightForwarder, you might have to put those configurations on the indexer too. &lt;/P&gt;

&lt;P&gt;2) Windows Security event logs have white spaces before "EventCode", so binding your regex to the start of the line should not work. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = (?m)EventCode=(592|593)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could also do the same job with a simpler configuration, though:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Security]
TRANSFORMS-set=dropevents
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dropevents]
REGEX = (?m)EventCode=(?!592|593)
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This regex means "&lt;EM&gt;discard everything that has EventCode different from either 592 or 593&lt;/EM&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 21:01:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17687#M2330</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2010-07-20T21:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: WinEvent Filtering on Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17688#M2331</link>
      <description>&lt;P&gt;ops, sorry for the inconvenience: point 1) can be discarded as the forwarder type was inherent in the question's title&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 21:15:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17688#M2331</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2010-07-20T21:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: WinEvent Filtering on Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17689#M2332</link>
      <description>&lt;P&gt;Try (?msi) instead of just (?m)&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 00:51:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17689#M2332</guid>
      <dc:creator>BunnyHop</dc:creator>
      <dc:date>2010-08-19T00:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: WinEvent Filtering on Heavy Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17690#M2333</link>
      <description>&lt;P&gt;Take a look at this answer regarding whitelisting specific event codes to be forwarded.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/9076/how-to-configure-a-forwarder-to-filter-and-send-only-the-events-i-want" rel="nofollow"&gt;http://answers.splunk.com/questions/9076/how-to-configure-a-forwarder-to-filter-and-send-only-the-events-i-want&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2010 07:14:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEvent-Filtering-on-Heavy-Forwarder/m-p/17690#M2333</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2010-11-17T07:14:17Z</dc:date>
    </item>
  </channel>
</rss>

