<?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: How to pull logs using WMI with a Splunk universal forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222585#M43646</link>
    <description>&lt;P&gt;I'm guessing you installed the UF on Windows therefore you have several ways to do this.&lt;BR /&gt;
My preferred one would be to use a powershell input and collect WMI this way.&lt;BR /&gt;
Example:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
Windows 8 and 2012 using Get-CimInstance&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[powershell://CollectProcessInfoFromWmi]
script = Get-CimInstance Win32_Process | Select-Object Field1, Field2, Field3
schedule = 0 */5 * ? * *
sourcetype = Windows:MyWmiData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PRE Windows 8 and 2012 using Get-WmiObject&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[powershell://CollectProcessInfoFromWmi]
script = Get-WmiObject -Class Win32_Process | Select-Object Field1, Field2, Field3
schedule = 0 */5 * ? * *
sourcetype = Windows:MyWmiData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See the following links for more info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowsdatawithPowerShellscripts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowsdatawithPowerShellscripts&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://technet.microsoft.com/en-us/library/hh849824.aspx"&gt;https://technet.microsoft.com/en-us/library/hh849824.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://technet.microsoft.com/en-us/library/jj590758(v=wps.630).aspx"&gt;https://technet.microsoft.com/en-us/library/jj590758(v=wps.630).aspx&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2016 10:22:12 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-04-27T10:22:12Z</dc:date>
    <item>
      <title>How to pull logs using WMI with a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222584#M43645</link>
      <description>&lt;P&gt;In reference to the following link: &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/26743/can-i-index-wmi-from-a-splunk-instance-running-on-linux.html"&gt;https://answers.splunk.com/answers/26743/can-i-index-wmi-from-a-splunk-instance-running-on-linux.html&lt;/A&gt; &lt;BR /&gt;
I want to know that How to pulls log using WMI by Splunk universal forwarder?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 10:55:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222584#M43645</guid>
      <dc:creator>rishabhey2016</dc:creator>
      <dc:date>2016-04-26T10:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull logs using WMI with a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222585#M43646</link>
      <description>&lt;P&gt;I'm guessing you installed the UF on Windows therefore you have several ways to do this.&lt;BR /&gt;
My preferred one would be to use a powershell input and collect WMI this way.&lt;BR /&gt;
Example:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
Windows 8 and 2012 using Get-CimInstance&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[powershell://CollectProcessInfoFromWmi]
script = Get-CimInstance Win32_Process | Select-Object Field1, Field2, Field3
schedule = 0 */5 * ? * *
sourcetype = Windows:MyWmiData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PRE Windows 8 and 2012 using Get-WmiObject&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[powershell://CollectProcessInfoFromWmi]
script = Get-WmiObject -Class Win32_Process | Select-Object Field1, Field2, Field3
schedule = 0 */5 * ? * *
sourcetype = Windows:MyWmiData
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See the following links for more info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowsdatawithPowerShellscripts"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.0/Data/MonitorWindowsdatawithPowerShellscripts&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://technet.microsoft.com/en-us/library/hh849824.aspx"&gt;https://technet.microsoft.com/en-us/library/hh849824.aspx&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://technet.microsoft.com/en-us/library/jj590758(v=wps.630).aspx"&gt;https://technet.microsoft.com/en-us/library/jj590758(v=wps.630).aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 10:22:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222585#M43646</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-04-27T10:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull logs using WMI with a Splunk universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222586#M43647</link>
      <description>&lt;P&gt;Hi, did you get this working at all?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 16:36:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-pull-logs-using-WMI-with-a-Splunk-universal-forwarder/m-p/222586#M43647</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-05-09T16:36:37Z</dc:date>
    </item>
  </channel>
</rss>

