<?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 UFW: Collect WMI instance referenced in monitored WMI event in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/UFW-Collect-WMI-instance-referenced-in-monitored-WMI-event/m-p/482591#M82692</link>
    <description>&lt;P&gt;I have what is probably a very newbie question:&lt;/P&gt;

&lt;P&gt;I would like to monitor a WMI event with Splunk. This event returns the key of a class instance which has been modified.&lt;/P&gt;

&lt;P&gt;So:&lt;BR /&gt;
1. The event WMI\MyEvent  fires and reports root\CIMV2\MyClass instance MyInstance1 has changed.&lt;BR /&gt;
2. I need to send root\CIMV2\MyClass MyInstance1 to Splunk (the changed instance, not the event itself)&lt;/P&gt;

&lt;P&gt;Can I handle this with the UFW? I didn't see an obvious way to accomplish this in wmi.conf.&lt;/P&gt;

&lt;P&gt;If I can't, I could wrap the logic into a powershell script that does the proper joining and prints out to the stdout as a CSV line. Can I have the UFW monitor the stdout of a powershell script and report whenever a new line is output?&lt;/P&gt;

&lt;P&gt;Anything else I should look at? &lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2019 16:16:18 GMT</pubDate>
    <dc:creator>injvstice</dc:creator>
    <dc:date>2019-09-16T16:16:18Z</dc:date>
    <item>
      <title>UFW: Collect WMI instance referenced in monitored WMI event</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/UFW-Collect-WMI-instance-referenced-in-monitored-WMI-event/m-p/482591#M82692</link>
      <description>&lt;P&gt;I have what is probably a very newbie question:&lt;/P&gt;

&lt;P&gt;I would like to monitor a WMI event with Splunk. This event returns the key of a class instance which has been modified.&lt;/P&gt;

&lt;P&gt;So:&lt;BR /&gt;
1. The event WMI\MyEvent  fires and reports root\CIMV2\MyClass instance MyInstance1 has changed.&lt;BR /&gt;
2. I need to send root\CIMV2\MyClass MyInstance1 to Splunk (the changed instance, not the event itself)&lt;/P&gt;

&lt;P&gt;Can I handle this with the UFW? I didn't see an obvious way to accomplish this in wmi.conf.&lt;/P&gt;

&lt;P&gt;If I can't, I could wrap the logic into a powershell script that does the proper joining and prints out to the stdout as a CSV line. Can I have the UFW monitor the stdout of a powershell script and report whenever a new line is output?&lt;/P&gt;

&lt;P&gt;Anything else I should look at? &lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 16:16:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/UFW-Collect-WMI-instance-referenced-in-monitored-WMI-event/m-p/482591#M82692</guid>
      <dc:creator>injvstice</dc:creator>
      <dc:date>2019-09-16T16:16:18Z</dc:date>
    </item>
  </channel>
</rss>

