Getting Data In

What Windows Event Codes are generally acceptable to filter out?

jones4bob
Explorer

Is there a good reference list or someone that can post what ways Windows Event Logs are being filtered? I'm particularly interested in those from a security perspective. For example, I get a flood of successful logins on an IIS web server from the IUSR account, which is of little value to me.

1 Solution

BunnyHop
Contributor

You can filter using multiple values or one value.

See this answer for an example: http://answers.splunk.com/questions/577/how-do-you-filter-windows-event-log

I filter out EventCodes that are irrelevant. This site gives you a down and dirty look at WindowsEventLog:

http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx

The webinars in the site are pretty helpful as well. Once you've built your list of events to filter, apply them on your splunk instance.

View solution in original post

chaker
Contributor

Splunk 6 makes this easier now with blacklists for windows inputs.

[WinEventLog:Security]
disabled = false
blacklist = 5156-5157

It also makes suppressing the message payload much easier.

[WinEventLog:Security]
disabled = 0
suppress_text = 1

http://blogs.splunk.com/2013/10/14/windows-event-logs-in-splunk-6/

0 Karma

denisevw
Path Finder

This does not work on Universal Forwarders, correct?

0 Karma

BunnyHop
Contributor

You can filter using multiple values or one value.

See this answer for an example: http://answers.splunk.com/questions/577/how-do-you-filter-windows-event-log

I filter out EventCodes that are irrelevant. This site gives you a down and dirty look at WindowsEventLog:

http://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx

The webinars in the site are pretty helpful as well. Once you've built your list of events to filter, apply them on your splunk instance.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...

Federated Search for CloudWatch Unified Data Store Is Generally Available

As organizations modernize their cloud environments, AWS workloads generate more security, operational, and ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...