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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...