<?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: WinEventLog:Security filter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62405#M12488</link>
    <description>&lt;P&gt;Example for Windows 2008 WinSecurity events:&lt;/P&gt;

&lt;P&gt;[dropevents] &lt;BR /&gt;
REGEX = (?msi)^EventCode=(4776|4648|4624|4634).*^Keywords=Audit\sSuccess &lt;BR /&gt;
DEST_KEY = queue &lt;BR /&gt;
FORMAT = nullQueue &lt;/P&gt;

&lt;P&gt;You can also use the following site to verify the regex: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://gskinner.com/RegExr/?31r9a"&gt;http://gskinner.com/RegExr/?31r9a&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2013 22:39:21 GMT</pubDate>
    <dc:creator>splunkIT</dc:creator>
    <dc:date>2013-09-11T22:39:21Z</dc:date>
    <item>
      <title>WinEventLog:Security filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62402#M12485</link>
      <description>&lt;P&gt;I'm running Splunk 4.2.5 server on CentOS. I've also installed SplunkForwarder 4.3 on a Win2k3 server, collecting Application, Security, and System events. &lt;/P&gt;

&lt;P&gt;On the server, I have defined&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set=dropevents&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[dropevents]&lt;BR /&gt;
REGEX = (?msi)^EventCode=(560|562|567).*^(Type=Audit Success)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;I've tried various forms of the REGEX, including just the EventCodes, one EventCode, etc. Nothing seems to work; no events are dropped. I read that this was a known issue before 4.2.1, but it is not listed in the 4.3 known issues. Can anyone enlighten me as to what I may be doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2012 19:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62402#M12485</guid>
      <dc:creator>biciunas</dc:creator>
      <dc:date>2012-02-01T19:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog:Security filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62403#M12486</link>
      <description>&lt;P&gt;Your regex is incorrect.&lt;/P&gt;

&lt;P&gt;It is Type=Success Audit, not Type=Audit Success (this happens with Windows 2008 which have different Event Codes - in which case your Event Codes are incorrect) as you wrote.&lt;BR /&gt;
Something like this should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dropevents]
REGEX = (?msi)^EventCode=(560|562|567).*^Type=Success Audit
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Feb 2012 22:46:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62403#M12486</guid>
      <dc:creator>bojanz</dc:creator>
      <dc:date>2012-02-01T22:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog:Security filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62404#M12487</link>
      <description>&lt;P&gt;Thanks for the correction - that was the solution. I guess I need remedial comprehension training, since I was staring at the answer in the logs..&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2012 13:38:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62404#M12487</guid>
      <dc:creator>biciunas</dc:creator>
      <dc:date>2012-02-02T13:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog:Security filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62405#M12488</link>
      <description>&lt;P&gt;Example for Windows 2008 WinSecurity events:&lt;/P&gt;

&lt;P&gt;[dropevents] &lt;BR /&gt;
REGEX = (?msi)^EventCode=(4776|4648|4624|4634).*^Keywords=Audit\sSuccess &lt;BR /&gt;
DEST_KEY = queue &lt;BR /&gt;
FORMAT = nullQueue &lt;/P&gt;

&lt;P&gt;You can also use the following site to verify the regex: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://gskinner.com/RegExr/?31r9a"&gt;http://gskinner.com/RegExr/?31r9a&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 22:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-Security-filter/m-p/62405#M12488</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2013-09-11T22:39:21Z</dc:date>
    </item>
  </channel>
</rss>

