<?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: Add request attribute as placeholder in URL Path in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/204464#M3346</link>
    <description>&lt;P&gt;Yes, you need a placeholder for that, definitely. You need to extract the postfix and the prefix using placeholders and only when it matches.&lt;BR /&gt;&lt;BR /&gt;Please, have a look at &lt;A href="https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-Global-request-naming-for-REST-services/m-p/176341#M289" target="_self"&gt;another solution&lt;/A&gt;&amp;nbsp;- how to replace numbers in URLs (your use case, exactly) on a global level and configurable by tags.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 21:04:06 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2023-02-09T21:04:06Z</dc:date>
    <item>
      <title>Add request attribute as a placeholder in the URL path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201815#M3297</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am trying to create a global placeholder for a request attribute I have set up. For example:&lt;/P&gt;
&lt;P&gt;URL 1: mydomain/subDomain/paymentAmount/12345&lt;/P&gt;
&lt;P&gt;URL 2:&amp;nbsp;mydomain/subDomain/paymentAmount/15612&lt;/P&gt;
&lt;P&gt;URL 3:&amp;nbsp;mydomain/subDomain/paymentAmount/18912&lt;/P&gt;
&lt;P&gt;Where the final values (12345,&amp;nbsp;15612 and&amp;nbsp;18912) are already being picked up as a request attribute via the regex I have set up. Is there any way to group these requests using the request attribute as a placeholder for the amount for example:&lt;/P&gt;
&lt;P&gt;mydomain/subDomain/paymentAmount/{amount}&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;Cameron&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 17:45:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201815#M3297</guid>
      <dc:creator>cameronduff</dc:creator>
      <dc:date>2023-05-12T17:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201819#M3298</link>
      <description>&lt;P&gt;You need to use &lt;A href="https://www.dynatrace.com/support/help/shortlink/request-attributes-naming-rules" target="_self"&gt;request naming rules&lt;/A&gt; for the service or set of services. It's independent of request attributes. You can use request attributes in the request naming rules when you need the value to be part of the request name (you want the opposite).&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:44:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201819#M3298</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-01-09T16:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201824#M3299</link>
      <description>&lt;P&gt;I see! So can I reuse the regex from my request attributes when making the POST API call for the new global naming rule?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 16:48:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201824#M3299</guid>
      <dc:creator>cameronduff</dc:creator>
      <dc:date>2023-01-09T16:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201834#M3300</link>
      <description>&lt;P&gt;Yes, exactly. But don't use regex unless necessary. Briefly looking at your sample URLs a simple rule just for URL path starting with a certain string could do what you need. If you need to check if there is the parameter and it has a numeric value, then I'd use regex.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 17:24:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201834#M3300</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-01-09T17:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201953#M3306</link>
      <description>&lt;P&gt;Perfect! Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; If I wanted to replace a parameter in the middle of a URL Path e.g:&lt;/P&gt;&lt;P&gt;This:&amp;nbsp;&lt;SPAN&gt;mydomain/subDomain/paymentAmount/12345/somethingElse&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To this:&amp;nbsp;mydomain/subDomain/paymentAmount/{amount}/somethingElse&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How would this be achieved in the naming pattern? As you need to add the placeholder in the naming pattern?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 10:04:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/201953#M3306</guid>
      <dc:creator>cameronduff</dc:creator>
      <dc:date>2023-01-10T10:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/204464#M3346</link>
      <description>&lt;P&gt;Yes, you need a placeholder for that, definitely. You need to extract the postfix and the prefix using placeholders and only when it matches.&lt;BR /&gt;&lt;BR /&gt;Please, have a look at &lt;A href="https://community.dynatrace.com/t5/Dynatrace-tips/PRO-TIP-Global-request-naming-for-REST-services/m-p/176341#M289" target="_self"&gt;another solution&lt;/A&gt;&amp;nbsp;- how to replace numbers in URLs (your use case, exactly) on a global level and configurable by tags.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 21:04:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/204464#M3346</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2023-02-09T21:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add request attribute as placeholder in URL Path</title>
      <link>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/212080#M3502</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57062"&gt;@cameronduff&lt;/a&gt;&amp;nbsp;did you find the answer to your question? If yes, please share.&amp;nbsp;&lt;BR /&gt;If not, maybe&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;still can help to find a final solution. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2023 17:47:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Add-request-attribute-as-a-placeholder-in-the-URL-path/m-p/212080#M3502</guid>
      <dc:creator>AgataWlodarczyk</dc:creator>
      <dc:date>2023-05-12T17:47:45Z</dc:date>
    </item>
  </channel>
</rss>

