Security

Infinite number of events from WMI event log

zumispun
New Member

Hi I'm using 4.2 on Win 2008 R2. Suplunkd is running with domain admin account. When I add my two DCs to get security event logs, it starts indexing forever until it runs out of the license. Each server has a total of about 15k events, but Splunk indexed over 2 millions (!) events from each machine. Here is my conf

[WMI:Security - Domain Controllers]
disabled = 1
event_log_file = Security
index = default
interval = 5
server = xxxdc01, xxxdc02

This was generated by the UI. Any ideas to have it work? Thanks

Tags (2)
0 Karma

hazekamp
Builder

If you are polling events from the Windows EventLog via WMI there is an important setting that will correct this behavior for you. The setting is "current_only" which defaults to 0. Setting this to 1 instead will tell Splunk to only collect events that occur while Splunk is running.

Here is an example of "current_only" in use in a wmi.conf:

[WMI:LocalSecurity]
interval = 10
event_log_file = Security
index = default
disabled = 1
current_only = 1

See also: http://www.splunk.com/base/Documentation/latest/Admin/Wmiconf

0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...