<?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 Multiple WMI sources in PROPS.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61423#M12221</link>
    <description>&lt;P&gt;Complete newb here, any help appreciated!&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set= setnulla,parse2003secevents,parse2008secevents&lt;/P&gt;

&lt;P&gt;[WMI:WinEventLog:System]&lt;BR /&gt;
TRANSFORMS-set= setnullb,parse2003sysevents,parse2008sysevents&lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;BR /&gt;
[setnulla]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[parse2003secevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxx|xxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[parse2008secevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxxx|xxxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[setnullb]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[parse2003sysevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxx|xxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[parse2008sysevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxxx|xxxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2013 15:49:41 GMT</pubDate>
    <dc:creator>philliphyatt</dc:creator>
    <dc:date>2013-06-12T15:49:41Z</dc:date>
    <item>
      <title>Multiple WMI sources in PROPS.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61423#M12221</link>
      <description>&lt;P&gt;Complete newb here, any help appreciated!&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set= setnulla,parse2003secevents,parse2008secevents&lt;/P&gt;

&lt;P&gt;[WMI:WinEventLog:System]&lt;BR /&gt;
TRANSFORMS-set= setnullb,parse2003sysevents,parse2008sysevents&lt;/P&gt;

&lt;P&gt;Transforms.conf&lt;BR /&gt;
[setnulla]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[parse2003secevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxx|xxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[parse2008secevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxxx|xxxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[setnullb]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[parse2003sysevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxx|xxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[parse2008sysevents]&lt;BR /&gt;
REGEX =(?msi)^EventCode=(xxxx|xxxx)\b&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 15:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61423#M12221</guid>
      <dc:creator>philliphyatt</dc:creator>
      <dc:date>2013-06-12T15:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple WMI sources in PROPS.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61424#M12222</link>
      <description>&lt;P&gt;As a general rule it is better to configure Splunk to filter out what you don't want and leave the rest to be indexed. The first issue I see is the the "REGEX = ." which means to send all of the data into the null queue. This is a great method to test if the transforms is working but not a good idea. So I am assuming that you want to only filter certain EventCodes from being indexed. &lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-set= setnulla,&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
REGEX =(?msi)^EventCode=(4756|4775)&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;This props/transforms combination will not index any EventCode of 4756 or 4775 but all other events will be indexed. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61424#M12222</guid>
      <dc:creator>tgow</dc:creator>
      <dc:date>2013-06-12T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple WMI sources in PROPS.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61425#M12223</link>
      <description>&lt;P&gt;Thanks for the response but my intent is to drop everything but the event codes in the [parse] statements. Sorry I guess I should have clarified.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2013 16:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-WMI-sources-in-PROPS-conf/m-p/61425#M12223</guid>
      <dc:creator>philliphyatt</dc:creator>
      <dc:date>2013-06-12T16:47:51Z</dc:date>
    </item>
  </channel>
</rss>

