How to remove proxy.pathsuffix pattern "/*/APIName" from custom report

I have an API with the following flow condition:

<Condition>proxy.pathsuffix MatchesPath "/*/permit" and request.verb = "POST"</Condition> 

then a custom report is created using custom and common dimensions,
Common dimension used is proxy.pathsuffix:

9758-common-dimension.jpg

when checking the report i am getting the same API many times due to the condition pattern "/*/permit"

property sum(message_count)
/Sddln9NHAvBdiiFo8A9n0hPL104yBDDWgfPOtq/permit 2
/9JpwGd6Q3rZT4Jvk9JvoqIYVKGbL104yBDDWgfPOtq/permit 2
/EHTjr4Dt9coluFHw6wJfV/permit 2
/h4VOH4qox2dRKB1KUxWPaRMDbL104yBDDWgfPOtq/permit 2
/yQjMLxkGLVPyATmc7Rdy87g41/permit 1
/swVwkE1p43LxgfPOtq/permit 1

knowing that proxy.pathsuffix is a read-only variable we cannot change it dynamically, any idea how to solve this issue and group the API requests ?

0 0 108
0 REPLIES 0