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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...