<?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 filtering EventCode in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55778#M10908</link>
    <description>&lt;P&gt;BEWARE : On recent versions of the windows app, the sourcetype for windowsevents has changed, so should change the props.conf &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;[wmi] in splunk 4.1&lt;/LI&gt;
&lt;LI&gt;[WMI:WinEventLog:Security] in 4.2&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;please try then both, or use them both if you have a mix of forwarder's versions to cover them all.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2011 19:45:32 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2011-06-29T19:45:32Z</dc:date>
    <item>
      <title>WinEventLog filtering EventCode</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55776#M10906</link>
      <description>&lt;P&gt;I have a Splunk central indexer on rhel5.5 and a forwarder (not LWF) on a Server 2008 VM. Currently I am forwarding all of WinEventLog:Security, and want to not index EventCode=566.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WMI:WinEventLog:Security]
TRANSFORMS-null= setnull
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX ="(?m)^EventCode=566"
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Currently these files exist in $SPLUNK_HOME/etc/system/local on the indexer, but I am still seeing results for EventCode=566 in search. &lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2011 00:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55776#M10906</guid>
      <dc:creator>joshrabinowitz</dc:creator>
      <dc:date>2011-03-09T00:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog filtering EventCode</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55777#M10907</link>
      <description>&lt;P&gt;You shouldn't have the double-quotes (&lt;CODE&gt;"&lt;/CODE&gt;) around your REGEX, since they aren't in the data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX = (?m)^EventCode=566
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 09 Mar 2011 01:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55777#M10907</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-03-09T01:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog filtering EventCode</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55778#M10908</link>
      <description>&lt;P&gt;BEWARE : On recent versions of the windows app, the sourcetype for windowsevents has changed, so should change the props.conf &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;[wmi] in splunk 4.1&lt;/LI&gt;
&lt;LI&gt;[WMI:WinEventLog:Security] in 4.2&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;please try then both, or use them both if you have a mix of forwarder's versions to cover them all.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 19:45:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55778#M10908</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2011-06-29T19:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: WinEventLog filtering EventCode</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55779#M10909</link>
      <description>&lt;P&gt;UPDATE splunk 6.*&lt;BR /&gt;
Since this version you can actually specify a list or range of eventCodes to exclude at the forwarder level, in inputs.conf. It will reduce the volume at the forwarder level and reduce the network load.&lt;/P&gt;

&lt;P&gt;see &lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;example:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[WinEventLog:Security]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
blacklist=566,800-850&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2013 23:32:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WinEventLog-filtering-EventCode/m-p/55779#M10909</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-10-25T23:32:34Z</dc:date>
    </item>
  </channel>
</rss>

