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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...