cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Webrequest cleanrule does not work

henk_stobbe
DynaMight Champion
DynaMight Champion

Good morning,

I am trying below cleanup rule:

henk_stobbe_0-1677829237398.png

(also tried %20 without ()), but that also did not work.

Is is a bug or is it a feature?

KR Henk

5 REPLIES 5

Julius_Loman
DynaMight Legend
DynaMight Legend

Maybe escaping the % with a \ ?

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

henk_stobbe
DynaMight Champion
DynaMight Champion

Hi Julius,

Thanks for the hint, sorry no luck....

Also tried " " \u0020 , (%)20  (-; 

KR Henk

joseandrescalvo
Participant

Hi. Tested %20 as regular expression for clean up and it works.

Anycase, there is no need to include a capture group in regular expresions for cleanup rules: all matching strings are removed.

Screenshot_36.png

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello Jose,

Thanks for your reply, need to investigate at my end. This does not work for my envoronment )-;

 

KR Henk

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello,

A second look: the %20 is part of a placeholder (URL query),

I created a naming rule adding a "query parameter". After adding the cleanup rule of %20, you can clearly see that this has no impact on the placeholder

So the solution is simple ,

You create two placeholders one that stops at the %20 and one that starts at %20 (so you split up with the help of the %20)

henk_stobbe_0-1677947647421.png

Have a great weekend!

Featured Posts