Splunk Cloud Platform

Whitelisting windows eventlog for event code 4662 in inputs.conf?

somdatta1001
Observer

[WinEventLog:Security]

disabled = 0

index= win*

blacklist1=EventCode="4662" Message=”Accesses:\t\t+(?!Create\sChild)”

Is this correct way to filter out event which only have "Create Child" as field value under access?

Please let me know if there is any syntax error or any other solution that I can try.

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

If you're looking for specific text in an event, don't use a negative lookahead for that text as that will find events without the specified text.  Also, it's not clear if the white space in the event is tabs, spaces, or both so it's better to use \s than \t.    Try these settings.

[WinEventLog:Security]
disabled = 0
index= win*
blacklist1=EventCode="4662" Message=”Accesses:\s+Create\sChild"

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Simplifying the Analyst Experience with Finding-based Detections

    Splunk invites you to an engaging Tech Talk focused on streamlining security operations with ...

[Puzzles] Solve, Learn, Repeat: Word Search

This challenge was first posted on Slack #puzzles channelThis puzzle is based on a letter grid containing ...

[Puzzles] Solve, Learn, Repeat: Advent of Code - Day 4

Advent of CodeIn order to participate in these challenges, you will need to register with the Advent of Code ...