<?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: Create Request Naming Rules for service via API in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/266725#M3566</link>
    <description>&lt;P&gt;Unfortunately, it's not possible to create or modify request naming rules for particular entities. You can use Global request naming rules and apply them to services based on tags or other filtering as&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4080"&gt;@DynaWiz&lt;/a&gt;&amp;nbsp;suggests. If you don't have access to the Configuration API, you must reach out to admin of your Dynatrace environment to provide you with a token with the required scope. A reminder - global rules are global and thus may affect the whole environment.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2025 22:40:59 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-01-06T22:40:59Z</dc:date>
    <item>
      <title>Create Request Naming Rules for service via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259107#M3420</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I want to create Endpoints Rules ( Request Naming Rules) for a particular service (not global) via API.&lt;/P&gt;
&lt;P&gt;I made it in UI, but we would like to create rules automatically, so that later we can make graphs in dashboards and watch response time are splitted by Endpoints.&lt;BR /&gt;I figured out how to create &lt;STRONG&gt;KeyRegister Names&lt;/STRONG&gt; via API, but I can't find how to make the Rules themselves.&lt;BR /&gt;I also think I found where is Global rules via &lt;STRONG&gt;api/config/v1/service/requestNaming&lt;/STRONG&gt;, but we don't have access to it.&lt;/P&gt;
&lt;P&gt;I read that you can't create rules for a specific service via API, but it's very strange that you can create a &lt;STRONG&gt;KeyRegister Names&lt;/STRONG&gt; for particular service, but not Rules.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;If anyone has any thoughts on this, please share.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 06:08:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259107#M3420</guid>
      <dc:creator>Bro-VV</dc:creator>
      <dc:date>2024-10-16T06:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Request Naming Rules for service via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259122#M3421</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60768"&gt;@Bro-VV&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;to achieve what you want you should use extra conditions. For example you can assign naming rule to service by TAG:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"enabled": true,&lt;BR /&gt;"namingPattern": "PATTERN",&lt;BR /&gt;"managementZones": [],&lt;BR /&gt;"conditions": [&lt;BR /&gt;{&lt;BR /&gt;"attribute": "SERVICE_TAG",&lt;BR /&gt;"comparisonInfo": {&lt;BR /&gt;"type": "TAG",&lt;BR /&gt;"comparison": "EQUALS_ANY_OF",&lt;BR /&gt;"value": null,&lt;BR /&gt;"values": [&lt;BR /&gt;{&lt;BR /&gt;"context": "CONTEXTLESS",&lt;BR /&gt;"key": "KEY",&lt;BR /&gt;"value": "YOUR_TAG"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"negate": false&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"placeholders": [&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Full list what attribute is possible to use is here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michalOM_0-1728906048208.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23600i2AECAAABCBEBE0B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michalOM_0-1728906048208.png" alt="michalOM_0-1728906048208.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/configuration-api/service-api/request-naming-api/post-new-rule" target="_blank" rel="noopener"&gt;Request naming API - POST a new request naming rule - Dynatrace Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best Reagrds&lt;/P&gt;&lt;P&gt;Michał&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 11:43:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259122#M3421</guid>
      <dc:creator>DynaWiz</dc:creator>
      <dc:date>2024-10-14T11:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Request Naming Rules for service via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259170#M3422</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4080"&gt;@DynaWiz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I have no access to api/config/v1/, I hope that I can do it via something like api/v2/settings/, like KeyRequestNames...&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 14:10:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/259170#M3422</guid>
      <dc:creator>Bro-VV</dc:creator>
      <dc:date>2024-10-14T14:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Request Naming Rules for service via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/266539#M3545</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/60768"&gt;@Bro-VV&lt;/a&gt;! Have you managed to find the answer to your question? It would be great if you share it with the Community &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 15:51:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/266539#M3545</guid>
      <dc:creator>GosiaMurawska</dc:creator>
      <dc:date>2025-01-02T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Request Naming Rules for service via API</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/266725#M3566</link>
      <description>&lt;P&gt;Unfortunately, it's not possible to create or modify request naming rules for particular entities. You can use Global request naming rules and apply them to services based on tags or other filtering as&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/4080"&gt;@DynaWiz&lt;/a&gt;&amp;nbsp;suggests. If you don't have access to the Configuration API, you must reach out to admin of your Dynatrace environment to provide you with a token with the required scope. A reminder - global rules are global and thus may affect the whole environment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 22:40:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Create-Request-Naming-Rules-for-service-via-API/m-p/266725#M3566</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-01-06T22:40:59Z</dc:date>
    </item>
  </channel>
</rss>

