All Apps and Add-ons

Filtering Windows Application and Security events

MBerikcurtis
Path Finder

I've been filtering Windows Security events for a while now without any issue by using:

props.conf

[WMI:WinEventLog:Security]

TRANSFORMS-wmi=wmisecnull

transforms.conf

[wmisecnull]

REGEX=(?m)^EventCode=(8|33|674|916|4770|5145|5157|4688|4689)

DEST_KEY=queue

FORMAT=nullQueue

then I made these edits

props.conf

[WMI:WinEventLog:Security]

TRANSFORMS-wmi=wmisecnull

WMI:WinEventLog:Application]

TRANSFORMS-wmi=wmiappnull

transforms.conf

[wmisecnull]

REGEX=(?m)^EventCode=(8|33|674|916|4770|5145|5157|4688|4689)

DEST_KEY=queue

FORMAT=nullQueue

[wmiappnull]

REGEX=(?m)^EventCode=(916)

DEST_KEY=queue

FORMAT=nullQueue

after these edits, the events that used to be filter are nolonger filtered.

0 Karma
1 Solution

MarioM
Motivator

the opening "[" is missing at WMI:WinEventLog:Application,is it what you have in conf file or it's only typo in your post?

As well i would change its TRANSFORMS-wmi= for TRANSFORMS-wmiapp= just to be sure there is no conflict with first one.

View solution in original post

jsdao
Explorer

Can you have multiple regex under on stanza or do i have to make a one to one relationship between props and transforms even if the source type and action are the same.

0 Karma

MarioM
Motivator

the opening "[" is missing at WMI:WinEventLog:Application,is it what you have in conf file or it's only typo in your post?

As well i would change its TRANSFORMS-wmi= for TRANSFORMS-wmiapp= just to be sure there is no conflict with first one.

MBerikcurtis
Path Finder

once I put in the missing[ the world started spinning again!

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...