Getting Data In

How to configure Splunk to index only security events from Windows machines?

pbrown1117
New Member

Can Splunk be configured to index only security events (failed logins, authorization changes, etc) from Windows machines, and not performance information?

Tags (3)
0 Karma

gnoellbn
Explorer

Yes, you should use this in you inputs.conf file :

[WinEventLog://Security]
disabled = 0

We do the exact same thing, furthermore we sort out event number we don't need using event ID exctracted from :
http://support.microsoft.com/kb/977519

Here's what our transforms.conf looks like :

[grab]
REGEX =  (?msi).*EventCode=(4624|4634|4625|4740|4767|5143|4670|4670|4663|4670|4670|4660|4663|5143|4657|4720|4722|47239|4724|4738|4725|4726|4738|4727|4731|4728|4732|4729|4733|4730|4734|6144|4674|4674|4674|4608|4609|4610|4611|4612|4614|4616|528|538|540|529|682|531|551|537|539|552|4623|4672|4647|4648|560|562|4656|4658)
DEST_KEY = queue
FORMAT = indexQueue
0 Karma

somesoni2
Revered Legend
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 ...