Getting Data In

Why are all events being filter except for EventCode 0 when filtering Windows Events?

splunkcol
Builder

Hi

I'm filtering windows events from the Heavy Forwarder, everything works fine, all events are filtered except for EventCode = 0 any idea why?

 

splunkcol_1-1628884389005.png

 

splunkcol_2-1628884418013.png

 

 

0 Karma
1 Solution

splunkcol
Builder

 

EventCode 0 was not being filtered because it is an Application event and not a security event.

In this way I solved it

 

props.conf

[source::WinEventLog:Application]
TRANSFORMS-wmi = setnull2

 


transforms.conf

[setnull2]
REGEX= (?msi) ^EventCode=(0)
DEST_KEY=queue
FORMAT=nullQueue

View solution in original post

0 Karma

splunkcol
Builder

 

EventCode 0 was not being filtered because it is an Application event and not a security event.

In this way I solved it

 

props.conf

[source::WinEventLog:Application]
TRANSFORMS-wmi = setnull2

 


transforms.conf

[setnull2]
REGEX= (?msi) ^EventCode=(0)
DEST_KEY=queue
FORMAT=nullQueue

0 Karma

jdhunter
Path Finder

We were able to filter it out from the UF using the following in our inputs.conf:

[WinEventLog://Application]
disabled = 0
index = windows_index
blacklist1 = EventCode="0"

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...