<?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: Universal Forwarder: WMI Hostname Config Ignored in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-WMI-Hostname-Config-Ignored/m-p/67448#M13579</link>
    <description>&lt;P&gt;You need to change &lt;CODE&gt;hostname = Vader&lt;/CODE&gt; to  &lt;CODE&gt;host = Vader&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jul 2015 17:27:25 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-07-01T17:27:25Z</dc:date>
    <item>
      <title>Universal Forwarder: WMI Hostname Config Ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-WMI-Hostname-Config-Ignored/m-p/67447#M13578</link>
      <description>&lt;P&gt;I am running the Universal Forwarder on a Windows Server pointed to a linux splunk server.  I also have a wmi.conf file that is polling another Windows server for additional information via WMI.  This is working fine, and I see the other servers logs showing up in splunk...but splunk is ignoring the hostname defined in the WMI config.  This means that both the remote polled Win server and the one with the forwarder installed, both use the forwarder's host name.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    24/03/2011 10:13:12.857     

20110324101312.857327 CSCreationClassName=Win32_ComputerSystem CSName=VADER Caption=conhost.exe CommandLine=\??\C:\Windows\system32\conhost.exe CreationClassName=Win32_Process CreationDate=20110324101309.003906-420 Description=conhost.exe EventClass=InstanceCreationEvent ExecutablePath=C:\Windows\system32\conhost.exe

Show all 50 lines

    **host=BART   Options|**  
    sourcetype=WMI:VaderProcessCreation   Options|  
    source=WMI:VaderProcessCreation   Options
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is the raw source for this log:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;20110324101312.857327
CSCreationClassName=Win32_ComputerSystem
CSName=VADER
Caption=conhost.exe
CommandLine=\??\C:\Windows\system32\conhost.exe
CreationClassName=Win32_Process
CreationDate=20110324101309.003906-420
Description=conhost.exe
--snipped--
WriteTransferCount=0
**wmi_hostname=Vader**
wmi_type=VaderProcessCreation
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Notice that the host=BART when it should equal Vader as defined in hostname.&lt;/P&gt;

&lt;P&gt;Here is my config for this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WMI:VaderProcessCreation]
interval = 1
server = vader
wql = select * from __InstanceCreationEvent within 1 where TargetInstance isa 'Win32_Process'
disabled = 0
current_only = 1
hostname = Vader
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is true for all my WMI polls for this remote server (Vader).  Any suggestions as to what is going on?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Robert&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2011 00:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-WMI-Hostname-Config-Ignored/m-p/67447#M13578</guid>
      <dc:creator>techfutures</dc:creator>
      <dc:date>2011-03-25T00:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Universal Forwarder: WMI Hostname Config Ignored</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-WMI-Hostname-Config-Ignored/m-p/67448#M13579</link>
      <description>&lt;P&gt;You need to change &lt;CODE&gt;hostname = Vader&lt;/CODE&gt; to  &lt;CODE&gt;host = Vader&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2015 17:27:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Universal-Forwarder-WMI-Hostname-Config-Ignored/m-p/67448#M13579</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-07-01T17:27:25Z</dc:date>
    </item>
  </channel>
</rss>

