Getting Data In

How can I disable a windows event id from indexing?

troywjonescc
Explorer

I have an event id 4674 that I would like to block from being indexed.  I have the following in my in inputs.conf in local not default.

[WinEventLog://Security]

disabled = true

blacklist1 = EventCode = "4764" Message="*"

Labels (1)
0 Karma

troywjonescc
Explorer

Do I need to add those lines to the props.conf as well?  Where do I put that deny list at?

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use my example blacklist1 setting as a replacement for the one in the OP.  Make sure the props.conf file is installed on the Windows UFs.

---
If this reply helps you, Karma would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

The input stanza is disabled so there should be no Security events coming in.  If you're still getting them then it could be because: 1) the inputs.conf is not loaded on the right instance (UF); 2) the instance was not restarted after props.conf was modified; or 3) the event is not a Security event.

Also, try specifying the EventCode alone in the deny list.

blacklist1 = 4764
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Transforming Financial Data into Fraud Intelligence

Every day, banks and financial companies handle millions of transactions, logins, and customer interactions ...

How to send events & findings from AWS to Splunk using Amazon EventBridge

Amazon EventBridge is a serverless service that uses events to connect application components together, making ...

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...