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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...