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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...