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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

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

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...