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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...