<?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: Trim GUID from a URL in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Trim-GUID-from-a-URL/m-p/244133#M5948</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74624"&gt;@dataplayer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The function TRIM or some function that make the same functionality (like in SQL Database) doesn't exist in Dynatrace USQL.&lt;BR /&gt;&lt;BR /&gt;I think in 2 possibilities to help you:&lt;BR /&gt;&lt;BR /&gt;1 .- &lt;STRONG&gt;Use Session and action properties:&lt;/STRONG&gt; If you can catch the same data (targetUrl) with any "Expression type " , you can apply Regex (Apply cleanup rule) . Then you can use that value in USQL &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreGutierrez_0-1714263833638.png" style="width: 387px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19469iA3ED1BA02BF6BCC1/image-dimensions/387x543?v=v2" width="387" height="543" role="button" title="PierreGutierrez_0-1714263833638.png" alt="PierreGutierrez_0-1714263833638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2.-&lt;STRONG&gt; Business Event:&lt;/STRONG&gt;&amp;nbsp; If you want to identify and apply some rules like TRIM. Or You can and want to send exactly the value of DashboardID . I recommend you use Business Event &lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ba-business-events-capturing#report-business-event-rum" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ba-business-events-capturing#report-business-event-rum&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope it's helpful &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 28 Apr 2024 00:24:42 GMT</pubDate>
    <dc:creator>PierreGutierrez</dc:creator>
    <dc:date>2024-04-28T00:24:42Z</dc:date>
    <item>
      <title>Trim GUID from a URL</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Trim-GUID-from-a-URL/m-p/244130#M5947</link>
      <description>&lt;P&gt;How can i extract only the GUID (in bold) from the following url using TRIM function with USQL:&lt;BR /&gt;&lt;BR /&gt;test.abc.com/CRMX/workplace/home_dashboards.aspx?sitemappath=Workplace%7cMyWork%7cnav_dashboards&amp;amp;pagemode=iframe&amp;amp;dashboardId=%7b&lt;STRONG&gt;f2b9e0b0-57e7-ed12-9142-005046962a4c&lt;/STRONG&gt;%7d&amp;amp;dashboardType=1031&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT useraction.targetUrl AS "DashboardId",&lt;BR /&gt;FROM useraction where useraction.targetUrl LIKE "*dashboardId*"&lt;BR /&gt;GROUP BY DashboardId&lt;BR /&gt;ORDER BY useraction.targetUrl DESC&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 23:44:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Trim-GUID-from-a-URL/m-p/244130#M5947</guid>
      <dc:creator>dataplayer</dc:creator>
      <dc:date>2024-04-27T23:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Trim GUID from a URL</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Trim-GUID-from-a-URL/m-p/244133#M5948</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/74624"&gt;@dataplayer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The function TRIM or some function that make the same functionality (like in SQL Database) doesn't exist in Dynatrace USQL.&lt;BR /&gt;&lt;BR /&gt;I think in 2 possibilities to help you:&lt;BR /&gt;&lt;BR /&gt;1 .- &lt;STRONG&gt;Use Session and action properties:&lt;/STRONG&gt; If you can catch the same data (targetUrl) with any "Expression type " , you can apply Regex (Apply cleanup rule) . Then you can use that value in USQL &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PierreGutierrez_0-1714263833638.png" style="width: 387px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19469iA3ED1BA02BF6BCC1/image-dimensions/387x543?v=v2" width="387" height="543" role="button" title="PierreGutierrez_0-1714263833638.png" alt="PierreGutierrez_0-1714263833638.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2.-&lt;STRONG&gt; Business Event:&lt;/STRONG&gt;&amp;nbsp; If you want to identify and apply some rules like TRIM. Or You can and want to send exactly the value of DashboardID . I recommend you use Business Event &lt;span class="lia-unicode-emoji" title=":police_car_light:"&gt;🚨&lt;/span&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/ba-business-events-capturing#report-business-event-rum" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/ba-business-events-capturing#report-business-event-rum&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I hope it's helpful &lt;span class="lia-unicode-emoji" title=":flexed_biceps:"&gt;💪&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 00:24:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Trim-GUID-from-a-URL/m-p/244133#M5948</guid>
      <dc:creator>PierreGutierrez</dc:creator>
      <dc:date>2024-04-28T00:24:42Z</dc:date>
    </item>
  </channel>
</rss>

