Deployment Architecture

Whitelist for WinEventLog does not filter with two fields EventCode and Logon_Type

gerdhuber
Explorer

Hallo,

i need help for this stanza. I want only Events for "EventCode=4624 and Logon_Type=10" .
Whitelist2 works fine.

[WinEventLog://Security]
disabled = false
start_from = oldest
evt_resolve_ad_obj = 0
checkpointInterval = 5
whitelist1 = EventCode=%^(4624)$% Logon_Type=%^10$%
whitelist2 = EventCode=%^(4625|4647|4720|4722|4724|4725|4726|4738|4781)$%
index = infrastrukturlog_windows

Thank you

Gerd

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi gerdhuber,
the easiest way is to filter events before indexing on Indexers, see http://docs.splunk.com/Documentation/Splunk/6.6.2/Forwarding/Routeandfilterdatad

Bye.
Giuseppe

0 Karma

gerdhuber
Explorer

This works for me:

whitelist1 = EventCode=%^(4624)$% Message="Logon\sType:\t+10"
whitelist2 = EventCode=%^(4625|4647|4720|4722|4724|4725|4726|4738|4781)$%

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...