AnsweredAssumed Answered

How can I exclude agents that don't match a pattern?

Question asked by Sam on Mar 10, 2017
Latest reply on Mar 10, 2017 by Sam

Let's say I only want to allow agents on servers that start with "one" or "two".  My loadbalancing.xml looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<loadbalancing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="loadbalancing0.1.xsd">

<!-- Block **** -->
    <agent-collector name="Block ****">
        <agent-specifier>^(?!(one|two))\|.*\|.*</agent-specifier>
        <include>
        </include>
    </agent-collector>
</loadbalancing>

and yet I still get agents on servers with hostnames like "04599598ae29" connecting.

 

Does the regex engine in use not support zero width assertions or something, or is there something else I'm missing?

Outcomes