Splunk Search

How do I configure a forwarder to whitelist only Event Code 4624 and Logon Types 2 or 11?

davidec137
New Member

I'm trying to edit inputs.conf in my forwarder to show ONLY Event 4624, with only Logon Type 2 or 11. I've seen many examples online of similar things, but nothing has worked for me so far. I understand I need to parse the Logon Type out of the Message field.

What would I have to add to this:

[WinEventLog://Security]
disabled=0
whitelist1 = EventCode="4624" Message="what's here?"

0 Karma

davidec137
New Member

One of my coworkers may have come up with the answer:

whitelist1 = EventCode=4624 Message="Logon Type:\s+[2, 11]"

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...