I need to be able to filter EventCode 4624 to NOT includes events with "Account Name" ending in $ (the machine name).
Possibly with the Security ID: NULL SID
However i would prefer with "Account Name" ending in $
In our environment we use WEF for all workstations which forward to a WEF server which then has a splunk UF to forward to the indexer peers.
I was under the impression this could be done on the UF if version was 6 or newer (i have v6.6.1)
using the inputs.conf?
I have tried things along the lines of
whitelist = EventCode=%^(4624)$% Message="(?:Account Name:).+[?!\$]"
but this ends up dropping all events.
I have tried with just the following to check whitelisting does get logs in
whitelist = EventCode=%^(4624)$%
and this works so i know there is nothing wrong with that part.
Sample Event with EventCode 4624 so you can see what im trying to get
This event is generated when a logon session is created. It is generated on the computer that was accessed.
The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The authentication information fields provide detailed information about this specific logon request.
- Logon GUID is a unique identifier that can be used to correlate this event with a KDC event.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested.