<?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 WMI filter doesn't work in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55703#M10887</link>
    <description>&lt;P&gt;I have installed the heavy forwarder on a windows machine in order to filter Windows Event Log events . I would like to forward only events of Type=Warning and Type=Error&lt;BR /&gt;
But it doesn't work&lt;BR /&gt;
I have created a file props.conf and a file transforms.conf&lt;BR /&gt;
where should I put these files ? In $SPLUNK_HOME/etc/system/local or in $SPLUNK_HOME/etc/apps/SplunkForwarder/local ?&lt;BR /&gt;
Can somebody help me because I am working on this since several days without any solution. Thanks&lt;/P&gt;

&lt;P&gt;The content of props.conf is :&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-wmi=FilterSec&lt;BR /&gt;
[WMI:WinEventLog:System]&lt;BR /&gt;
TRANSFORMS-wmi=FilterSys&lt;BR /&gt;
[WMI:WinEventLog:Application]&lt;BR /&gt;
TRANSFORMS-wmi=FilterApp&lt;/P&gt;

&lt;P&gt;Content of transforms.conf:&lt;BR /&gt;
[FilterSys]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;

&lt;P&gt;[FilterSec]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;

&lt;P&gt;[FilterApp]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:28:40 GMT</pubDate>
    <dc:creator>alain_bettiol</dc:creator>
    <dc:date>2020-09-28T13:28:40Z</dc:date>
    <item>
      <title>WMI filter doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55703#M10887</link>
      <description>&lt;P&gt;I have installed the heavy forwarder on a windows machine in order to filter Windows Event Log events . I would like to forward only events of Type=Warning and Type=Error&lt;BR /&gt;
But it doesn't work&lt;BR /&gt;
I have created a file props.conf and a file transforms.conf&lt;BR /&gt;
where should I put these files ? In $SPLUNK_HOME/etc/system/local or in $SPLUNK_HOME/etc/apps/SplunkForwarder/local ?&lt;BR /&gt;
Can somebody help me because I am working on this since several days without any solution. Thanks&lt;/P&gt;

&lt;P&gt;The content of props.conf is :&lt;BR /&gt;
[WMI:WinEventLog:Security]&lt;BR /&gt;
TRANSFORMS-wmi=FilterSec&lt;BR /&gt;
[WMI:WinEventLog:System]&lt;BR /&gt;
TRANSFORMS-wmi=FilterSys&lt;BR /&gt;
[WMI:WinEventLog:Application]&lt;BR /&gt;
TRANSFORMS-wmi=FilterApp&lt;/P&gt;

&lt;P&gt;Content of transforms.conf:&lt;BR /&gt;
[FilterSys]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;

&lt;P&gt;[FilterSec]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;

&lt;P&gt;[FilterApp]&lt;BR /&gt;
REGEX= (?msi)^Type=Information&lt;BR /&gt;
DEST_KEY= queue&lt;BR /&gt;
FORMAT= nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55703#M10887</guid>
      <dc:creator>alain_bettiol</dc:creator>
      <dc:date>2020-09-28T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: WMI filter doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55704#M10888</link>
      <description>&lt;P&gt;Verify what is the exact final sourcetype of your events with a search.&lt;/P&gt;

&lt;P&gt;I suspect that your props stanza should be like :&lt;BR /&gt;
&lt;CODE&gt;[WinEventLog:Security]&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2013 15:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55704#M10888</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2013-03-08T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: WMI filter doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55705#M10889</link>
      <description>&lt;P&gt;You were right, it seems to work now.&lt;BR /&gt;
I have used this stanza [WinEventLog:..] insteadof [WMI:WinEventLog:..] and now it works. I hve also moved props.conf and transforms.conf into folder $SPLUNK_HOME/apps/SplunkForwarder/etc/local otherwise it doesn't work.&lt;/P&gt;

&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2013 08:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55705#M10889</guid>
      <dc:creator>alain_bettiol</dc:creator>
      <dc:date>2013-03-12T08:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: WMI filter doesn't work</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55706#M10890</link>
      <description>&lt;P&gt;I have wrecked my brains over this and still can't get it to work!! Here are my config files&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Inputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[WinEventLog:Application]&lt;/P&gt;

&lt;P&gt;disabled = 0&lt;/P&gt;

&lt;P&gt;[WinEventLog:System]&lt;/P&gt;

&lt;P&gt;disabled = 0&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[WinEventLog:Application] &lt;/P&gt;

&lt;P&gt;TRANSFORMS-wmi = FitlerApp&lt;/P&gt;

&lt;P&gt;[WinEventLog:System]&lt;/P&gt;

&lt;P&gt;TRANSFORMS-wmi = FilterSys&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;[FilterApp]&lt;/P&gt;

&lt;P&gt;REGEX = (?msi)^Type=Information&lt;/P&gt;

&lt;P&gt;DEST_KEY = queue&lt;/P&gt;

&lt;P&gt;FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[FilterSys]&lt;/P&gt;

&lt;P&gt;REGEX = (?msi)^Type=Information&lt;/P&gt;

&lt;P&gt;DEST_KEY = queue&lt;/P&gt;

&lt;P&gt;FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;I was putting all of these files in C:\Program Files\Splunk\etc\system\local but after reading alain_bettiol post, I moved the transforms.conf and props.conf files into C:\Program Files\SplunkUniversalForwarder\etc\apps\SplunkUniversalForwarder\local and it still doesn't work! What am I doing wrong? Please advise!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 12:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/WMI-filter-doesn-t-work/m-p/55706#M10890</guid>
      <dc:creator>DukeHazord</dc:creator>
      <dc:date>2014-02-21T12:13:35Z</dc:date>
    </item>
  </channel>
</rss>

