<?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: Problem to discard some WMI events in FileServer with heavyfwd in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108870#M22902</link>
    <description>&lt;P&gt;The regex seems fine but I would recommend that you do NOT edit anything in the &lt;CODE&gt;C:\Program Files\Splunk\etc\system\default&lt;/CODE&gt; directory. Instead, try creating a &lt;CODE&gt;props.conf&lt;/CODE&gt; and a &lt;CODE&gt;transforms.conf&lt;/CODE&gt; in  &lt;CODE&gt;C:\Program Files\Splunk\etc\system\local&lt;/CODE&gt; and try again. Also, try changing stanza headers as per below to reflect correct sourcetype.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\system\local\props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-wmi=wminull&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\system\local\transforms.conf&lt;BR /&gt;
[wminull] &lt;BR /&gt;
REGEX=(?mi)EventCode=(4673|4658) &lt;BR /&gt;
DEST_KEY=queue &lt;BR /&gt;
FORMAT=nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Notice, that I changed the regex slightly - it should not matter - AND i change the stanza header for the sourcetype in props.conf.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2011 03:31:50 GMT</pubDate>
    <dc:creator>_d_</dc:creator>
    <dc:date>2011-11-14T03:31:50Z</dc:date>
    <item>
      <title>Problem to discard some WMI events in FileServer with heavyfwd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108869#M22901</link>
      <description>&lt;P&gt;I installed a Splunk (Heavy Forwarder) in my Windows 2007 Std SP1 FILE SERVER.&lt;BR /&gt;
Installed, too, Windows APPs.&lt;/P&gt;

&lt;P&gt;I configured it to forward to my Splunk Index Server and this FILESERVER is forwarding correctly (I can see SECURITY events in search app of my Splunk Server).&lt;/P&gt;

&lt;P&gt;I would like to &amp;gt;NOT&amp;lt; send WMI secutiry events with Event ID 4673 and 4658 and, for this I made:&lt;/P&gt;

&lt;P&gt;1) Inside C:\Program Files\Splunk\etc\apps\windows\default\props.conf&lt;/P&gt;

&lt;P&gt;I inserted&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-wmi=wminull&lt;/P&gt;

&lt;P&gt;2) Inside C:\Program Files\Splunk\etc\apps\windows\default\transform.conf&lt;/P&gt;

&lt;P&gt;[wminull]&lt;BR /&gt;
REGEX=(?m)^EventCode=(4673|4658)&lt;BR /&gt;
DEST_KEY=queue&lt;BR /&gt;
FORMAT=nullQueue&lt;/P&gt;

&lt;P&gt;After this I re-started this FileServer service and tried to check splunk server but this events 4673 and 4658 still being collected from this server.&lt;/P&gt;

&lt;P&gt;Is this regex wrong ?&lt;BR /&gt;
Thanks !!!!!!!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2011 20:58:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108869#M22901</guid>
      <dc:creator>mgaleti</dc:creator>
      <dc:date>2011-11-13T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to discard some WMI events in FileServer with heavyfwd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108870#M22902</link>
      <description>&lt;P&gt;The regex seems fine but I would recommend that you do NOT edit anything in the &lt;CODE&gt;C:\Program Files\Splunk\etc\system\default&lt;/CODE&gt; directory. Instead, try creating a &lt;CODE&gt;props.conf&lt;/CODE&gt; and a &lt;CODE&gt;transforms.conf&lt;/CODE&gt; in  &lt;CODE&gt;C:\Program Files\Splunk\etc\system\local&lt;/CODE&gt; and try again. Also, try changing stanza headers as per below to reflect correct sourcetype.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\system\local\props.conf&lt;BR /&gt;
[WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-wmi=wminull&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;C:\Program Files\Splunk\etc\system\local\transforms.conf&lt;BR /&gt;
[wminull] &lt;BR /&gt;
REGEX=(?mi)EventCode=(4673|4658) &lt;BR /&gt;
DEST_KEY=queue &lt;BR /&gt;
FORMAT=nullQueue&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Notice, that I changed the regex slightly - it should not matter - AND i change the stanza header for the sourcetype in props.conf.&lt;/P&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2011 03:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108870#M22902</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-11-14T03:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to discard some WMI events in FileServer with heavyfwd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108871#M22903</link>
      <description>&lt;P&gt;Great !!!! Thanks ! Worked fine,&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2011 13:40:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108871#M22903</guid>
      <dc:creator>mgaleti</dc:creator>
      <dc:date>2011-11-16T13:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem to discard some WMI events in FileServer with heavyfwd</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108872#M22904</link>
      <description>&lt;P&gt;mgaleti, please accept answer and upvote so that other community members can find it useful. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2011 13:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Problem-to-discard-some-WMI-events-in-FileServer-with-heavyfwd/m-p/108872#M22904</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-11-16T13:44:41Z</dc:date>
    </item>
  </channel>
</rss>

