<?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 Splunk WMI on Universal Forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20247#M2941</link>
    <description>&lt;OL&gt;
&lt;LI&gt; I am writing a WQL on my universal forwarder to read data from my BizTalk server. I have configured my wmi.conf as below –&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;[WMI:MSBTSHostInstance]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
wql = SELECT * FROM MSBTS_HostInstance&lt;BR /&gt;
namespace = root\MicrosoftBizTalkServer&lt;BR /&gt;
index = temp_index&lt;BR /&gt;
interval = 30&lt;BR /&gt;
                But I keep getting this error in splunkd.log file - Error occurred while trying to retrieve results from a WMI query (error="FormatMessage was unable to decode error (2148735236), (0x80131904)"&lt;BR /&gt;&lt;BR /&gt;
                HRESULT=80131904) (root\MicrosoftBizTalkServer: SELECT * FROM MSBTS_HostInstance)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;            However if I run the same command from command line in SPLUNK_HOME\bin folder (command – splunk cmd splunk-wmi.exe –WQL “SELECT * FROM MSBTS_HostInstance” –namespace root\MicrosoftBizTalkServer) it gives 
           me the correct result. I tried restarting the WMI service adding debug modifying log.cfg and log-cmdline-debug files but no luck. Wbemtest also lists down all classes in the namespace. [I saw all these 
           troubleshooting steps in the link http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/TroubleshootingWMI] . Splunk UF is configured as local system account, I presume that should not be 
           an issue as it works in command line. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone please provide some pointers as to what is going on?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:14:22 GMT</pubDate>
    <dc:creator>anshu2812</dc:creator>
    <dc:date>2020-09-28T13:14:22Z</dc:date>
    <item>
      <title>Splunk WMI on Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20247#M2941</link>
      <description>&lt;OL&gt;
&lt;LI&gt; I am writing a WQL on my universal forwarder to read data from my BizTalk server. I have configured my wmi.conf as below –&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;[WMI:MSBTSHostInstance]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
wql = SELECT * FROM MSBTS_HostInstance&lt;BR /&gt;
namespace = root\MicrosoftBizTalkServer&lt;BR /&gt;
index = temp_index&lt;BR /&gt;
interval = 30&lt;BR /&gt;
                But I keep getting this error in splunkd.log file - Error occurred while trying to retrieve results from a WMI query (error="FormatMessage was unable to decode error (2148735236), (0x80131904)"&lt;BR /&gt;&lt;BR /&gt;
                HRESULT=80131904) (root\MicrosoftBizTalkServer: SELECT * FROM MSBTS_HostInstance)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;            However if I run the same command from command line in SPLUNK_HOME\bin folder (command – splunk cmd splunk-wmi.exe –WQL “SELECT * FROM MSBTS_HostInstance” –namespace root\MicrosoftBizTalkServer) it gives 
           me the correct result. I tried restarting the WMI service adding debug modifying log.cfg and log-cmdline-debug files but no luck. Wbemtest also lists down all classes in the namespace. [I saw all these 
           troubleshooting steps in the link http://docs.splunk.com/Documentation/Splunk/latest/Troubleshooting/TroubleshootingWMI] . Splunk UF is configured as local system account, I presume that should not be 
           an issue as it works in command line. 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can anyone please provide some pointers as to what is going on?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:14:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20247#M2941</guid>
      <dc:creator>anshu2812</dc:creator>
      <dc:date>2020-09-28T13:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk WMI on Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20248#M2942</link>
      <description>&lt;P&gt;You mentioned that the forwarder is running as a local system account. Is the UF on the same device as the BizTalk server?  If not, it seems likely that it's a permissions problem.  &lt;/P&gt;

&lt;P&gt;Can you (as a test) run the UF under the same account that you used to run the query from the CLI?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 19:41:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20248#M2942</guid>
      <dc:creator>sbrant_splunk</dc:creator>
      <dc:date>2013-02-05T19:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk WMI on Universal Forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20249#M2943</link>
      <description>&lt;P&gt;Perfectly said sbrant..it was the permission issue with local system account not being able to access the SQL server. I tried creating a batch file and running under splunk local system and it detailed the permission issue in splunkd.log. Thanks!!!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 20:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-WMI-on-Universal-Forwarder/m-p/20249#M2943</guid>
      <dc:creator>anshu2812</dc:creator>
      <dc:date>2013-02-05T20:48:06Z</dc:date>
    </item>
  </channel>
</rss>

