Troubleshoot Windows event log collection
This topic discusses solutions to problems encountered when attempting to get Windows event log data into Splunk.
Problems with collection and indexing of Windows event logs generally fall into two categories:
- Event logs are not collected from the server. This is usually due to either a local configuration problem or, in the case of remote event log collection, a network, permissions, or authentication issue.
- Event logs are collected from the server, but information within the event log is either missing or incorrect. This is usually due to problems associated with a particular event log channel, or because of the methods used to collect data from those channels.
Troubleshooting issues with event logs collected locally
When you have problems getting data into your local Splunk instance, try these tips to fix the problem:
- Make sure that the desired event log channels are selected in Splunk Web or properly configured in inputs.conf.
- Make sure to select fewer than 64 event log channels per event log input.
- Make sure that you are not attempting to index exported event logs that are incompatible with the indexing system (for example, attempting to index event logs exported from a Windows Server 2008 computer on a Windows XP computer will result in missing log data).
- Make sure that, if you are monitoring non-standard event log channels, that you have the appropriate dynamic linked libraries (DLLs) that are associated with that event log channel. This is particularly important when indexing exported log files from a different computer.
Troubleshooting issues with event logs collected remotely
When you experience issues getting event logs from remote Windows servers, try these solutions to fix the problem:
- Make sure that your Splunk user is configured correctly for WMI.
- Make sure that your Splunk user is valid, and does not have an expired password.
- Make sure that the Event Log service is running on both the source and target machines.
- Make sure that your Active Directory (AD) is functioning correctly.
- Make sure that your computers are configured to allow WMI data between them.
- Make sure that your event logs are properly configured for remote access.
For more information
See the Admin Manual for information on getting started for Windows admins.
What do I do with buckets?
Common issues with Splunk and WMI
This documentation applies to the following versions of Splunk® Enterprise: 6.5.7, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.13, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.6, 7.1.7, 7.1.8, 7.1.9, 7.1.10, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.8, 7.2.9, 7.2.10, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.3.9, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 8.0.5, 8.0.6, 8.0.7, 8.0.8, 8.0.9, 8.0.10, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 9.0.0