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.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...