<?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: Transforms.conf and Props.conf to filter WMI security eventlog in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30758#M5388</link>
    <description>&lt;P&gt;You've specified the null transformation to be executed before the filter transformation, any event is gone before it gets to the filter.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Nov 2012 15:42:37 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2012-11-12T15:42:37Z</dc:date>
    <item>
      <title>Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30757#M5387</link>
      <description>&lt;P&gt;I have a brand new Splunk 5 installation I am trying to get working with some filtering.&lt;/P&gt;

&lt;P&gt;Right now I have one remote event log I am pulling into Splunk. It is the Security log of a Domain Controller. I am trying to only index EventCodes 566 &amp;amp; 632 for now. Ultimately I will setup different props and transforms depending on the source and what I am trying to filter. But for now I would like to get these two event codes working.&lt;/P&gt;

&lt;P&gt;So I have a props.conf file that looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WMI:WinEventLog:Security]
TRANSFORM-evtLog = wmi-null,wmi-filter
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And my transforms.conf file looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[wmi-null]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[wmi-filter]
REGEX = (?msi)^EventCode=(566|632)
DEST_KEY = queue
FORMAT = main
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have tried changing the Regex around in several different ways, but no matter what I try, nothing makes it to my index. If I remove the Null rule, I get everything from the log, so I know it is working, just not with the filter.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 14:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30757#M5387</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T14:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30758#M5388</link>
      <description>&lt;P&gt;You've specified the null transformation to be executed before the filter transformation, any event is gone before it gets to the filter.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 15:42:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30758#M5388</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-12T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30759#M5389</link>
      <description>&lt;P&gt;On which server are your props and transforms ?&lt;BR /&gt;
They have to be on the indexers (or heavy forwarders if any) because they are the one parsing the events.&lt;BR /&gt;
Not on the lightweight or universal forwarders. &lt;/P&gt;

&lt;P&gt;also since Splunk 4.2, the stanza for props is likely to be&lt;BR /&gt;
&lt;CODE&gt;[WinEventLog:Security]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 16:50:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30759#M5389</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2012-11-12T16:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30760#M5390</link>
      <description>&lt;P&gt;I have tried reversing the rules and same result. Nothing gets indexed.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:03:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30760#M5390</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T19:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30761#M5391</link>
      <description>&lt;P&gt;This is on the indexer. I will try modifying the stanza since I am using v5.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:03:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30761#M5391</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T19:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30762#M5392</link>
      <description>&lt;P&gt;Changing the stanza made it start indexing, but it was pulling in events other than those I specified. Does my RegEx look wrong? Not sure why it would be matching on other Event ID's as well.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:11:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30762#M5392</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T19:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30763#M5393</link>
      <description>&lt;P&gt;After trying YannK's answer, it started indexing, but starting indexing everything not just the entries listed in Transforms.conf. Didn't seem to matter the order the rules were in.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:11:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30763#M5393</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Transforms.conf and Props.conf to filter WMI security eventlog</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30764#M5394</link>
      <description>&lt;P&gt;Okay actually by changing the stanza from WMI:WinEventLog:Security to just WinEventLog:Security started showing entries because all the WMI stuff started coming in unfiltered. So it is definitely WMI:WinEventLog:Security showing up. Just can't figure out why it won't filter events correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2012 19:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Transforms-conf-and-Props-conf-to-filter-WMI-security-eventlog/m-p/30764#M5394</guid>
      <dc:creator>ryanfarquhar</dc:creator>
      <dc:date>2012-11-12T19:33:29Z</dc:date>
    </item>
  </channel>
</rss>

