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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...