Deployment Architecture

Blacklist IP Ranges in serverclass.conf

trross33
Path Finder

Is it possible to blacklist ip ranges in serverclass.conf? Something like this?

[serverClass:test-type]
machineTypes=windows-intel, linux-i686, linux-x86_64
filterType=whitelist
whitelist.0=*
blacklist.0=192.168.1.130-192.168.1.149

Thanks!

0 Karma

Ayn
Legend

No, ranges or CIDR defined blocks are not supported in the blacklists/whitelists. However the patterns are really PCRE regular expressions, so there's the option of using that, for instance like this (using your example scenario):

[serverClass:test-type]
machineTypes=windows-intel, linux-i686, linux-x86_64
filterType=whitelist
whitelist.0=*
blacklist.0=192.168.1.1[34][0-9]
Get Updates on the Splunk Community!

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...