<?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: Try to route certain WMI events to nullQueue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14774#M1544</link>
    <description>&lt;P&gt;How does this work if your are trying to filter Windows Events,  but not using WMI,  but rather a Universal Forwarder?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
-Matt&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2013 19:01:50 GMT</pubDate>
    <dc:creator>MattG</dc:creator>
    <dc:date>2013-04-04T19:01:50Z</dc:date>
    <item>
      <title>Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14769#M1539</link>
      <description>&lt;P&gt;and its not working.  Why?&lt;/P&gt;

&lt;P&gt;I can tell by viewing the event in Splunk that my WMI events have the following metadata:&lt;/P&gt;

&lt;P&gt;host=WMIHost
source=WMI:WinEventLog:Security
sourcetype=WMI:WinEventLog:Security&lt;/P&gt;

&lt;P&gt;My configuration is as follows:&lt;/P&gt;

&lt;P&gt;props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WMI:WinEventLog:Security]
TRANSFORMS-wminull = nullit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[nullit]
REGEX=(?m)^EventCode=(592|593)
DEST_KEY=queue
FORMAT=nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm trying to route certain WMI events (that match EventCode=592 or EventCode=593) to nullQueue and my configuration is not working.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2010 04:57:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14769#M1539</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-06-03T04:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14770#M1540</link>
      <description>&lt;P&gt;Because of the way WMI events are processed, when filtering on these you must use the [wmi] sourcetype stanza in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi]
TRANSFORMS-wminull = nullit
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Jun 2010 05:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14770#M1540</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-06-03T05:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14771#M1541</link>
      <description>&lt;P&gt;I have it set the other way, I am only indexing certain events and sending everything else to the nul queue:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi]
TRANSFORMS-wmifilter = wmi-null, wmi-filter

[source::wineventlog:security]
TRANSFORMS-evtlog = log-null, log-filter
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi-null]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[wmi-filter]
REGEX=EventCode=(560|529)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try swirching them round, should work&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2010 17:24:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14771#M1541</guid>
      <dc:creator>simonmag</dc:creator>
      <dc:date>2010-06-09T17:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14772#M1542</link>
      <description>&lt;P&gt;I would recommend the following minor &lt;CODE&gt;REGEX&lt;/CODE&gt; change.  Try using &lt;CODE&gt;EventCode=(560|529)\D&lt;/CODE&gt; this makes sure that there are no trailing digits behind your match.  For example, you don't want to match "EventCode=5291"&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2010 11:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14772#M1542</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-20T11:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14773#M1543</link>
      <description>&lt;P&gt;I which file or subfolder I have to create or edit the probs.conf and transformers.conf? In the subdirectory of the Windows App / local ?&lt;/P&gt;

&lt;P&gt;Thanks in advice!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2011 09:32:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14773#M1543</guid>
      <dc:creator>frankysplunk</dc:creator>
      <dc:date>2011-11-16T09:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Try to route certain WMI events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14774#M1544</link>
      <description>&lt;P&gt;How does this work if your are trying to filter Windows Events,  but not using WMI,  but rather a Universal Forwarder?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
-Matt&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 19:01:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Try-to-route-certain-WMI-events-to-nullQueue/m-p/14774#M1544</guid>
      <dc:creator>MattG</dc:creator>
      <dc:date>2013-04-04T19:01:50Z</dc:date>
    </item>
  </channel>
</rss>

