• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Dynatrace
  • Dynatrace Open Q&A
avatar image
Question by Aurélien G. · May 23, 2018 at 01:13 PM · services php

create a clean URL Rule

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

4 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Ugochukwu N. · May 23, 2018 at 01:25 PM

Hi AURELIEN,

Can you please elaborate? Are you trying to create a server-side service request cleanup rule? In the particular service the request belongs to, edit the Settings -> web Request Naming and you should see option to Create URL cleanup rule

https://www.dynatrace.com/news/blog/track-business...

Thanks

NJ

Comment
Kyle K.

People who like this

1 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Aurélien G. · May 23, 2018 at 01:53 PM 0
Share

Sorry, the content didn't appears the first time so I added a new answer below.

avatar image

Answer by Neil D. · Apr 01, 2019 at 11:19 PM

This doesn't work for me. doing a regexp along the lines of prefix(deletematch)suffix still deletes the ENTIRE matched string, rather than the "deletematch" only. This is rather a big functional hole; the "modern" REST method has this as a standard practice.

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Ugochukwu N. · May 23, 2018 at 04:36 PM

Hi Aurelien,

The following regex should work in the URL cleanup rule. I will test it though in a lower environment just to be sure it works correctly

fr\/checkout\/([0-9]+).*

Please let me know if this works for you

Thanks

NJ

Comment

People who like this

0 Show 4 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Rick B. · Sep 25, 2018 at 04:20 PM 0
Share

Hey NJ,

How does this work now? I don't see this in the service options anymore

Rick B

avatar image James K. Rick B. · Sep 25, 2018 at 04:55 PM 0
Share

Nothing has changed that I'm aware of, are you looking at this view under the specific service's settings?

answers.png (46.2 KiB)
avatar image Rick B. James K. · Sep 25, 2018 at 05:01 PM 0
Share

is it somehow not detecting my service as a "web" based service, despite having URL:Path e.g. as a valid placeholder?

daemf.png (191.5 KiB)
avatar image James K. Rick B. · Sep 25, 2018 at 05:08 PM 0
Share

I think it is detecting it as a web service instead of as a web request service.

I see for those you only have the options to define names not generate URL cleanup rules. That is based on the frameworks that are being used - a bit more here.

avatar image

Answer by Aurélien G. · May 23, 2018 at 01:51 PM

Hello,

I'm trying to create a clean rule on a PHP service in order to group the checkout operations on the sames transactions (despite the ID).

Examples of checkout URI:

fr/checkout/57341

fr/checkout/57341/rest/payment-validate

fr/checkout/57341/billing

fr/checkout/57341/complete

When I configure the rule with this regex :

\/checkout(\/\d+)

all the segment /checkout/57341 is masked and not only the 57341.


How to mask only the value 57341 ?

FYI, the /checkout expression is to match only the URI related to the checkout transactions.

Thank you.

Regards Aurélien

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Gustavo M. · Jun 26, 2020 at 05:38 PM 0
Share

Hi @Aurélien G. were you able to solve your issue? I have a similar problem and can't seem to find a solution.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

23 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Limited options to configure services and track code with Laravel PHP Application

Dynatrace SaaS + PHP - Create Service from all methods in class

why are apache servers being considered a service?

Disable PG monitoring creates strange opaque service

Customize maintenance windows in Dynatrace Saas Problem notifocation settings.

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A