<?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: windows event log filter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83386#M17327</link>
    <description>&lt;P&gt;Thanks, It works.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2013 14:09:30 GMT</pubDate>
    <dc:creator>soimeng</dc:creator>
    <dc:date>2013-04-04T14:09:30Z</dc:date>
    <item>
      <title>windows event log filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83384#M17325</link>
      <description>&lt;P&gt;my transform.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX =(?msi)^EventCode=4663.^Account Name:\s(?!.Administrator.)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;basically, I just want to index evencode is 4663 and don't want the account name is administrator. &lt;BR /&gt;
I tried, but it doesn't work, anyone can help .. thanks&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:08:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83384#M17325</guid>
      <dc:creator>soimeng</dc:creator>
      <dc:date>2013-04-03T15:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: windows event log filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83385#M17326</link>
      <description>&lt;P&gt;I think your regex looks a bit funny, Account_Name does not come directly after the EventCode in the messages, right?&lt;/P&gt;

&lt;P&gt;Anyway, I'd probably to this in a three-step operation for the sake of clarity;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;setnull&lt;/CODE&gt; for all (as you already do)&lt;BR /&gt;
&lt;CODE&gt;setparsing&lt;/CODE&gt; for &lt;CODE&gt;EventCode=4663&lt;/CODE&gt; (remove the &lt;CODE&gt;Account_Name&lt;/CODE&gt; part of the regex)&lt;BR /&gt;
&lt;CODE&gt;nulladm&lt;/CODE&gt; create the regex for &lt;CODE&gt;Account_Name : Administrator&lt;/CODE&gt; to send these to the &lt;CODE&gt;nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;just be observant of the whitespaces in the log for the last regex.&lt;/P&gt;

&lt;P&gt;and in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-my_evtlog_filtering = setnull, setparsing, nulladm 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 07:27:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83385#M17326</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-04T07:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: windows event log filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83386#M17327</link>
      <description>&lt;P&gt;Thanks, It works.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:09:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83386#M17327</guid>
      <dc:creator>soimeng</dc:creator>
      <dc:date>2013-04-04T14:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: windows event log filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83387#M17328</link>
      <description>&lt;P&gt;For people has the same requirement. &lt;BR /&gt;
&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set= setnull,setparsing,nulladm&lt;BR /&gt;
&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[setparsing]&lt;BR /&gt;
REGEX =(?msi)^EventCode=4663&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[nulladm]&lt;BR /&gt;
REGEX =(?msi).Account\\sName:\\s+Administrator&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 14:11:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/windows-event-log-filter/m-p/83387#M17328</guid>
      <dc:creator>soimeng</dc:creator>
      <dc:date>2013-04-04T14:11:00Z</dc:date>
    </item>
  </channel>
</rss>

