Is it possible to strip out identifiers from RESTful service URLs?

When analyzing logs of RESTful services, URLs against different data entities appear as different pages (e.g. http://domain.com/hrservice/employee/... and http://domain.com/hrservice/employee/... refer to invoking the same service method, employee, of the HR Service, against two different employee ids). While it is useful to count such unique calls, I would also like to obtain stats on the individual services - e.g. hits of the employee service as a total over time. Is this possible with version 7.6?
1 person has
this question
+1
Reply
  • Michael (Official Rep) March 17, 2012 09:15
    It's not possible to exclude parts of URLs now, only query parameters can be excluded. We'll consider adding support for such feature in the future versions of the program.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Michael (Official Rep) March 29, 2012 11:02
    We have added support for reporting on modified URLs in version 7.7 (Professional and Enterprise editions). You need to do the following to get statistics on the URL http://domain.com/hrservice/employee/ without IDs:

    1. Open Options > Report > Tables.
    2. Create a new table. Choose "File name" as main data on the "Data" page, then click the "Custom..." button to the right of the "Main data" combo box.
    3. Enable modification rules and enter the following rule:

    /hrservice/employee/* $= /hrservice/employee/

    In this case all /hrservice/employee/* requests will be grouped to one entry. You can also enter rules for other services, or create more complex rules using regular expressions - you can find information on rule syntax in the program help.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated