<?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 Filtering windows events not successful on splunk forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29596#M5090</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I've installed splunk forwarder(regular) on windows server and trying to filter off certain events when sending to splunk indexer. 
Here is my sample configuration:  &lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;transform.conf&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = (?m)^EventCode=(540|673|861)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Splunk services were stopped while I'm editing the files and enabled after.The configuration was done on the forwarder itself.I did a search where "host=serverA EventCode=540" and I still see the events.&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2010 09:55:57 GMT</pubDate>
    <dc:creator>remy06</dc:creator>
    <dc:date>2010-08-13T09:55:57Z</dc:date>
    <item>
      <title>Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29596#M5090</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I've installed splunk forwarder(regular) on windows server and trying to filter off certain events when sending to splunk indexer. 
Here is my sample configuration:  &lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-null = setnull&lt;/P&gt;

&lt;P&gt;transform.conf&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = (?m)^EventCode=(540|673|861)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Splunk services were stopped while I'm editing the files and enabled after.The configuration was done on the forwarder itself.I did a search where "host=serverA EventCode=540" and I still see the events.&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 09:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29596#M5090</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-08-13T09:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29597#M5091</link>
      <description>&lt;P&gt;Just making sure : When you say "I still see the events", are you referring to events that were indexed before you made your changes?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2010 13:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29597#M5091</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-08-13T13:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29598#M5092</link>
      <description>&lt;P&gt;Is this LightWeightForwarder(LWF) or a regular forwarder? If this is LightWeightForwarder, this may not work as data is not not parsed into individual events in LWF.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2010 04:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29598#M5092</guid>
      <dc:creator>Jag</dc:creator>
      <dc:date>2010-08-17T04:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29599#M5093</link>
      <description>&lt;P&gt;This is working for me now..although there isn't much difference than the previous but here goes:    &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;
[setnull]&lt;BR /&gt;
REGEX = (?msi)^EventCode=(540|673|861)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/CODE&gt;  &lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:31:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29599#M5093</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-10-19T10:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29600#M5094</link>
      <description>&lt;P&gt;Am using a regular forwarder&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29600#M5094</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-10-19T10:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering windows events not successful on splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29601#M5095</link>
      <description>&lt;P&gt;I monitored the events after ive made the changes and still see them&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2010 10:32:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-windows-events-not-successful-on-splunk-forwarder/m-p/29601#M5095</guid>
      <dc:creator>remy06</dc:creator>
      <dc:date>2010-10-19T10:32:35Z</dc:date>
    </item>
  </channel>
</rss>

