<?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: Why isn't WMI class working with Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405920#M72017</link>
    <description>&lt;P&gt;Dont you think its  because the WMI namespace that Splunk Enterprise accesses (most commonly Root\CIMV2) must have proper permissions. These permissions must be set manually on each host in your enterprise, as there is no global WMI security. ?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Oct 2018 11:32:54 GMT</pubDate>
    <dc:creator>jip31</dc:creator>
    <dc:date>2018-10-04T11:32:54Z</dc:date>
    <item>
      <title>Why isn't WMI class working with Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405918#M72015</link>
      <description>&lt;P&gt;hello&lt;/P&gt;

&lt;P&gt;I fluently use WMI request with Splunk.&lt;/P&gt;

&lt;P&gt;until now, i haven't had any problems.&lt;/P&gt;

&lt;P&gt;I have to use these 2 WMI classes, but Splunk is unable to request from them.&lt;/P&gt;

&lt;P&gt;Anybody have an idea why this is happening? Are there some restrictions between Splunk and WMI???&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WMI:BatteryFull]
disabled = 0
interval = 30
wql = SELECT * FROM BatteryFullChargedCapacity
index = windows-wmi

[WMI:BatteryStatic]
disabled = 0
interval = 30
wql = SELECT * FROM BatteryStaticData
index = windows-wmi
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Oct 2018 10:15:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405918#M72015</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-10-03T10:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't WMI class working with Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405919#M72016</link>
      <description>&lt;P&gt;nobody has an idea please??&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 06:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405919#M72016</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-10-04T06:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't WMI class working with Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405920#M72017</link>
      <description>&lt;P&gt;Dont you think its  because the WMI namespace that Splunk Enterprise accesses (most commonly Root\CIMV2) must have proper permissions. These permissions must be set manually on each host in your enterprise, as there is no global WMI security. ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 11:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405920#M72017</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-10-04T11:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't WMI class working with Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405921#M72018</link>
      <description>&lt;P&gt;I checked the log and i have this :&lt;BR /&gt;
10-06-2018 06:59:44.210 +0200 ERROR ExecProcessor - message from ""C:\Program Files\Splunk\bin\splunk-wmi.exe"" WMI - Error occurred while trying to retrieve results from a WMI query (error="Specified class is not valid." HRESULT=80041010) (root\cimv2: SELECT * FROM BatteryFullChargedCapacity)&lt;/P&gt;

&lt;P&gt;is thre omething to do for doing valid a wmi class??&lt;/P&gt;</description>
      <pubDate>Sat, 06 Oct 2018 05:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/405921#M72018</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-10-06T05:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't WMI class working with Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/604972#M105182</link>
      <description>&lt;P&gt;Taking a chance on answering an old question here since I got stuck with the same issue.....&amp;nbsp;&lt;/P&gt;&lt;P&gt;It now worked fine on my Universal forwarder. You just need to add this line to wmi.conf:&lt;/P&gt;&lt;P&gt;namespace = root\wmi&lt;/P&gt;&lt;P&gt;I also noticed that when doing the splunk cmd test query you need to pay attention to the case of -namespace&lt;/P&gt;&lt;P&gt;&amp;nbsp;-Namespace triggers an error while -namespace works fine.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2022 16:07:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-WMI-class-working-with-Splunk/m-p/604972#M105182</guid>
      <dc:creator>hnorvik</dc:creator>
      <dc:date>2022-07-08T16:07:21Z</dc:date>
    </item>
  </channel>
</rss>

