Knowledge Management

search based on a list of windows event codes

ihingos
Engager

I need to setup a search, and later a report that will show certain windows events based on event ID. The list of event codes is pretty long. I know I can just use OR, but that is a ton of ORs. anyone have a better way like having the search function pull a csv or txt file of event IDs, and search for all of them?

Tags (2)

hexx
Splunk Employee
Splunk Employee

You'll probably want to look at event types to automate this sort of thing. A search macro would also achieve a similar result, although it's slightly more complex (and also more powerful) than an event type.

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...