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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...