Getting Data In

Can you help me filter out wineventlog eventcode 4656 account names in transforms.conf?

ralphw_SAIC
Path Finder

I am trying to figure out how to filter out account names that end in $ for the 4656 event codes. i am currently using the following in transforms.conf:

REGEX = (?ms)(.*EventCode=4656.*)(Subject:.*Account Name:(\s*\w+\$)
DEST_KEY = queue
FORMAT = nullQueue

I have tried multiple combinations of the above and it never filters out.

0 Karma
1 Solution

splunkjas1
Path Finder

This worked for me:

(?s)(EventCode=4656.*Account Name:[^\$]+\$)

View solution in original post

splunkjas1
Path Finder

This worked for me:

(?s)(EventCode=4656.*Account Name:[^\$]+\$)
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...