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!

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...