Getting Data In

FilterType=whitelist, blacklisting not working

mcbradford
Contributor

We're trying to exclude a machine from receiving an app through the Deployment server. In the serverclass "Windows Inputs-events" we want all machines except "WORKSTATIONA" to receive the app.

The machine previously had the app installed before we added the blacklist entry. Will adding the blacklist entry remove the app from the machine? How can we exclude it?

Windows Inputs-events

[serverClass:Windows-events]
restartSplunkd = true
machineTypes = windows-intel,windows-x64
filterType = whitelist
whitelist.0 =*
blacklist.0 = WORKSTATIONA*
[serverClass:Windows-events:app:WinEvents]

[serverClass:Windows-events:app:WMI]

Tags (2)
0 Karma

_d_
Splunk Employee
Splunk Employee

Give this stanza a try:

[serverClass:Windows-events]
restartSplunkd = true
filterType = whitelist
whitelist.0 = *
blacklist.0 = WORKSTATIONA
[serverClass:Windows-events:app:WinEvents]
machineTypes = windows-intel,windows-x64

d.

- please upvote if you find this answer useful

0 Karma

gekoner
Communicator

d
this format didn't work for me.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...