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!

Make your Splunk investment work harder with Optimization Advisor

Value Insights brings usage evidence and practical recommendations together to help customers make more ...

How Splunk AI Assistant Is Transforming Investigations: Insights from .conf26

At .conf26 in Denver, I spent much of my time in conversation with Splunk customers about Splunk AI Assistant. ...

Make Your Machine Data AI-Ready in Splunk

Every team is getting ready for AI agents.   Thursday, November 12, 2026  |  11AM  PST / 2PM EST   ...