<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Web request clean URL rule not working as intended in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115960#M10453</link>
    <description>&lt;P&gt;Hello Adam,&lt;/P&gt;&lt;P&gt;Try this regex: (MIEk).*[\/]&lt;/P&gt;&lt;PRE&gt;Then you can replace it with: \*\/&lt;/PRE&gt;&lt;P&gt;Note: there is a backslash in front of the * but it is not showing up in the replacement regex.&lt;/P&gt;&lt;P&gt;Let me know if that works&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20076-2019-03-21-14-40-27-online-regex-tester-and-debugg.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David Nicholls&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 21 Mar 2019 19:41:34 GMT</pubDate>
    <dc:creator>david_n</dc:creator>
    <dc:date>2019-03-21T19:41:34Z</dc:date>
    <item>
      <title>Web request clean URL rule not working as intended</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115959#M10452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My customer wants me to try and cleanup the requests in Dynatrace for a number of the services in their monitored applications.&lt;/P&gt;&lt;P&gt;I tried to test the URL Cleanup rule for one of the requests, but the results were not what I expected. &lt;/P&gt;&lt;P&gt;The example that I was testing on, was for a number of requests in a service that are formatted similar to the below example.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Request:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/prweb/PRServlet/MIEk-3UAC9M7mlVhvTQdsLg84mofwl7BL0nrQpWhKBg%5B*/!STANDARD&lt;/P&gt;&lt;P&gt;The goal from my customer, is to remove/mask  the string of characters that start with &lt;STRONG&gt;MIEk&lt;/STRONG&gt; and end right before the "&lt;STRONG&gt;/&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example Request (Part that should be masked in bold) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/prweb/PRServlet/&lt;STRONG&gt;MIEk-3UAC9M7mlVhvTQdsLg84mofwl7BL0nrQpWhKBg%5B*&lt;/STRONG&gt;/!STANDARD&lt;/P&gt;&lt;P&gt;They would like to see these kinds of requests cleaned up so that they look like the example below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Desired Output Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/prweb/PRServlet/*/!STANDARD&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I attempted to perform this by adding&lt;STRONG&gt; &lt;/STRONG&gt;a cleanup rule, however when I checked the requests, they all were being renamed with just a &lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20070-test-url-cleanup-regex.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20069-bad-url-name-example.png" /&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I did wrong with my rule, and how I can properly implement this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Adam Sjoerdsma&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Mar 2019 15:30:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115959#M10452</guid>
      <dc:creator>adam_sjoerdsma</dc:creator>
      <dc:date>2019-03-21T15:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Web request clean URL rule not working as intended</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115960#M10453</link>
      <description>&lt;P&gt;Hello Adam,&lt;/P&gt;&lt;P&gt;Try this regex: (MIEk).*[\/]&lt;/P&gt;&lt;PRE&gt;Then you can replace it with: \*\/&lt;/PRE&gt;&lt;P&gt;Note: there is a backslash in front of the * but it is not showing up in the replacement regex.&lt;/P&gt;&lt;P&gt;Let me know if that works&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20076-2019-03-21-14-40-27-online-regex-tester-and-debugg.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David Nicholls&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Mar 2019 19:41:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115960#M10453</guid>
      <dc:creator>david_n</dc:creator>
      <dc:date>2019-03-21T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Web request clean URL rule not working as intended</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115961#M10454</link>
      <description>&lt;P&gt;Thanks David! This helped me better understand how the regex needed to be applied.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 21 Mar 2019 20:44:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Web-request-clean-URL-rule-not-working-as-intended/m-p/115961#M10454</guid>
      <dc:creator>adam_sjoerdsma</dc:creator>
      <dc:date>2019-03-21T20:44:01Z</dc:date>
    </item>
  </channel>
</rss>

