Alerting

Alerting on Windows Event Logs

srubik
New Member

Fairly new to Splunk and I'm starting my deployment off with monitoring Windows Event Logs. I have a list of about 200 specific event log entries that need to be alerted on. What is the best way to go about this? Most Splunk alerts seem very easy to setup, such as "give me any server that has CPU usage above 75%". But in this case, I have a lot of very specific data I need to search for. I was thinking of doing something like the following, but it seems very inefficient.

index="EventLogData" (SourceName="Microsoft-Windows-Service Control Manager" AND EventCode=7036) OR (SourceName="Interactive Services detection" AND EventCode=1000) OR ...(same thing 198 times).

An alternative is to pull all event log entries that occurred over the past minute, then do some regular expression matching on all returned events. Or I can split up the above line into 200 individual searches that run once a minute.

Has anyone had to do something like this before with Splunk? What would be an efficient way to handle alerting on these 200+ specific events? The above is just an example, the Windows events I'm looking for are mostly errors (but not all) and spread across many different sources(Microsoft, HP, various agents, applications, etc). I can probably combine the common sources, but that still leaves me with 50 or so events I need to search for. Any help is appreciated! Thanks.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust
0 Karma
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!

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Federated Search for Dynamic Data Self Storage Is Now Generally Available on Splunk ...

 Splunk is excited to announce the General Availability of Federated Search for Dynamic Data Self Storage ...

Index This | What has many keys but can’t unlock a door?

July 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...