Can't count all URIs because the ID

Hello, I’m trying to count all my requests against an specific uri, but they gets divided beacuse the all the {ID}'s are different…

For example i call: api/dogs/breed/123/name
And i call another: api/dogs/breed/456/name

I want to count the total calls to the uri 'api/dogs/breed/*/name, but I get calls for each ID.

Is there any soultion for this?

Hi, @emil.hammarstrand:

WHERE request.uri LIKE 'api/dogs/breed/%/name'

Does not work, I still get 1 count for each uri.

Please post the actual query you are using.

FROM Transaction SELECT count(*) WHERE request.uri LIKE '/api/dogs/breed/%/name' FACET request.uri SINCE 1 hour ago

Try removing the FACET:

FROM Transaction SELECT count(*) WHERE request.uri LIKE '/api/dogs/breed/%/name'
2 Likes