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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...