<?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 While setting up a Windows Eventlog collection input, why do I get an HTTP 500 - Access is denied error? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9872#M211</link>
    <description>&lt;P&gt;I want to gather and index the security eventtlogs on a remote Windows server.&lt;/P&gt;

&lt;P&gt;While trying to add a new Windows Eventlog collection input within Splunk, I am getting the following error:&lt;/P&gt;

&lt;P&gt;Failed to fetch data:[HTTP 500] Splunkd internal error;[{'text':"In handler 'win-wmi-enum-eventlogs': Error accessing MWI-0x7ff8fffb - Access is denied.. Make sure WMI is configured correctly.",'code':None, 'type': 'ERROR'}]&lt;/P&gt;

&lt;P&gt;FYI, the user account that Splunk is running as also exists on the remote Windows machine and has full rights to administer both servers.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2010 23:07:50 GMT</pubDate>
    <dc:creator>maverick</dc:creator>
    <dc:date>2010-02-24T23:07:50Z</dc:date>
    <item>
      <title>While setting up a Windows Eventlog collection input, why do I get an HTTP 500 - Access is denied error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9872#M211</link>
      <description>&lt;P&gt;I want to gather and index the security eventtlogs on a remote Windows server.&lt;/P&gt;

&lt;P&gt;While trying to add a new Windows Eventlog collection input within Splunk, I am getting the following error:&lt;/P&gt;

&lt;P&gt;Failed to fetch data:[HTTP 500] Splunkd internal error;[{'text':"In handler 'win-wmi-enum-eventlogs': Error accessing MWI-0x7ff8fffb - Access is denied.. Make sure WMI is configured correctly.",'code':None, 'type': 'ERROR'}]&lt;/P&gt;

&lt;P&gt;FYI, the user account that Splunk is running as also exists on the remote Windows machine and has full rights to administer both servers.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2010 23:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9872#M211</guid>
      <dc:creator>maverick</dc:creator>
      <dc:date>2010-02-24T23:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: While setting up a Windows Eventlog collection input, why do I get an HTTP 500 - Access is denied error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9873#M212</link>
      <description>&lt;P&gt;The error is, alas, precise - we have attempted, and been explicitly denied, access to the logs. &lt;/P&gt;

&lt;P&gt;This can happen for the following reasons : &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you're not in a domain (see below)&lt;/LI&gt;
&lt;LI&gt;Splunkd service is running with Local System permissions&lt;/LI&gt;
&lt;LI&gt;Splunkd is running as a domain account, but cannot do at least one of these: 
&lt;UL&gt;
&lt;LI&gt;log on as a service on the remote box&lt;/LI&gt;
&lt;LI&gt;bypass the firewall on the remote box, specifically IPSEC challenges&lt;/LI&gt;
&lt;LI&gt;use Remote Launch and Remote Activation DCOM rights&lt;/LI&gt;
&lt;LI&gt;Profile System Performance and Access this Computer from the Network GPO rights&lt;/LI&gt;
&lt;/UL&gt;&lt;/LI&gt;
&lt;LI&gt;The RPC service is running, but DCOM and/or WMI services are not&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Whew. That's a lot of reasons, and there can be even more edge cases. For testing, try a domain admin account for the splunkd service login to verify connectivity is possible, then go from there to improve security. See: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Data/MonitorWMIdata" rel="nofollow"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Data/MonitorWMIdata&lt;/A&gt;
or 
&lt;A href="http://msdn.microsoft.com/en-us/library/aa394603%28VS.85%29.aspx" rel="nofollow"&gt;http://msdn.microsoft.com/en-us/library/aa394603%28VS.85%29.aspx&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;RE: Domains. If you are NOT in a domain, it is possible to have identically named accounts with &lt;EM&gt;exactly&lt;/EM&gt; the same login name and password who are &lt;EM&gt;both&lt;/EM&gt; Local Administrators on &lt;EM&gt;both&lt;/EM&gt; machines work with WMI. The polling Splunkd needs to have this account as it's service login.&lt;/P&gt;

&lt;P&gt;Note this will &lt;STRONG&gt;NOT&lt;/STRONG&gt; work if either machine is actually in a domain; both must be stand alone.   &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2010 06:10:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9873#M212</guid>
      <dc:creator>cervelli</dc:creator>
      <dc:date>2010-02-25T06:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: While setting up a Windows Eventlog collection input, why do I get an HTTP 500 - Access is denied error?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9874#M213</link>
      <description>&lt;P&gt;Ok next question, does splunk need to be installed on each machine I want read the logs from?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2012 19:42:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/While-setting-up-a-Windows-Eventlog-collection-input-why-do-I/m-p/9874#M213</guid>
      <dc:creator>jonm1010</dc:creator>
      <dc:date>2012-07-26T19:42:47Z</dc:date>
    </item>
  </channel>
</rss>

