DX Application Performance Management

  • 1.  TC Attribute Rules

    Posted Jul 11, 2017 01:34 PM

    I'm using ETC version 10.5.2 and I'm trying to parse a existing attribute name, agentDomain, that does not contains an underscore character,"_",  I tried setting the Condition/Matching Operator to "Contains RegEx" and the Condition Value to"(?!.*_)(.*)/(.*)" and it works on the Regular Expression Test Page for Java (RegexPlanet: online regular expression testing for Java), but when I create the attribute rule, the modified Component count is 0.  Any Suggestion? 

     

    I was thinking about setting the Condition/Matching Operator to "Doesn't Contains RegEx", but couldn't figure out how to format the condition value or couldn't found any examples.



  • 2.  Re: TC Attribute Rules

    Broadcom Employee
    Posted Jul 11, 2017 01:45 PM

    Looks like you need to escape your forward slash character. That should not have worked in a regex tester until you had escaped it.



  • 3.  Re: TC Attribute Rules
    Best Answer

    Posted Jul 11, 2017 02:26 PM

    I found I solution that appears to work by using "SuperDomain/([^_]*)" in the ConditionValue.



  • 4.  Re: TC Attribute Rules

    Broadcom Employee
    Posted Jul 11, 2017 02:29 PM

    Thanks for sharing the solution with the Community Robert. We all learn when information is passed along