Refine your search:

2
1

I want to gather and index the security eventtlogs on a remote Windows server.

While trying to add a new Windows Eventlog collection input within Splunk, I am getting the following error:

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'}]

FYI, the user account that Splunk is running as also exists on the remote Windows machine and has full rights to administer both servers.

asked 24 Feb '10, 15:07

maverick's gravatar image

maverick ♦
2.6k6575
accept rate: 14%

edited 08 Apr '10, 00:26

Ledio%20Ago's gravatar image

Ledio Ago ♦
6492413


One Answer:

The error is, alas, precise - we have attempted, and been explicitly denied, access to the logs.

This can happen for the following reasons :

  • you're not in a domain (see below)
  • Splunkd service is running with Local System permissions
  • Splunkd is running as a domain account, but cannot do at least one of these:
    • log on as a service on the remote box
    • bypass the firewall on the remote box, specifically IPSEC challenges
    • use Remote Launch and Remote Activation DCOM rights
    • Profile System Performance and Access this Computer from the Network GPO rights
  • The RPC service is running, but DCOM and/or WMI services are not

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:

http://www.splunk.com/base/Documentation/latest/Admin/MonitorWMIdata or http://msdn.microsoft.com/en-us/library/aa394603%28VS.85%29.aspx

RE: Domains. If you are NOT in a domain, it is possible to have identically named accounts with exactly the same login name and password who are both Local Administrators on both machines work with WMI. The polling Splunkd needs to have this account as it's service login.

Note this will NOT work if either machine is actually in a domain; both must be stand alone.

link

answered 24 Feb '10, 22:10

cervelli's gravatar image

cervelli ♦
4982412
accept rate: 38%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×303
×221
×109
×98
×15

Asked: 24 Feb '10, 15:07

Seen: 2,084 times

Last updated: 08 Apr '10, 00:26

Copyright © 2005-2012 Splunk, Inc. All rights reserved.