<?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: Show service name on DQL Query in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259495#M1339</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41008"&gt;@soportetr&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use lookup function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
|fieldsAdd entity.customized_name
|fieldsAdd called_by,calls
|filter isNotNull(entity.customized_name)
|expand service1 = called_by[dt.entity.service]
|expand service2 = calls[dt.entity.service]
|fieldsAdd service1name = lookup([fetch dt.entity.service],
sourceField:service1 , lookupField:id)[entity.name]
|fieldsAdd service2name = lookup([fetch dt.entity.service],
sourceField:service2 , lookupField:id)[entity.name]&lt;/LI-CODE&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Michał&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2024 15:44:19 GMT</pubDate>
    <dc:creator>DynaWiz</dc:creator>
    <dc:date>2024-10-16T15:44:19Z</dc:date>
    <item>
      <title>Show service name on DQL Query</title>
      <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259471#M1338</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am running a DQL query that shows which services call other services and which are called by another. Below I leave the query and the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de pantalla 2024-10-16 072923.png" style="width: 964px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23724i8C35991966FF279B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de pantalla 2024-10-16 072923.png" alt="Captura de pantalla 2024-10-16 072923.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I need to know is that if there is a way to show the names of the services and not the ID's of the services.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 12:31:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259471#M1338</guid>
      <dc:creator>soportetr</dc:creator>
      <dc:date>2024-10-16T12:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show service name on DQL Query</title>
      <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259495#M1339</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/41008"&gt;@soportetr&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can use lookup function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
|fieldsAdd entity.customized_name
|fieldsAdd called_by,calls
|filter isNotNull(entity.customized_name)
|expand service1 = called_by[dt.entity.service]
|expand service2 = calls[dt.entity.service]
|fieldsAdd service1name = lookup([fetch dt.entity.service],
sourceField:service1 , lookupField:id)[entity.name]
|fieldsAdd service2name = lookup([fetch dt.entity.service],
sourceField:service2 , lookupField:id)[entity.name]&lt;/LI-CODE&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Michał&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 15:44:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259495#M1339</guid>
      <dc:creator>DynaWiz</dc:creator>
      <dc:date>2024-10-16T15:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show service name on DQL Query</title>
      <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259507#M1341</link>
      <description>&lt;P&gt;You could slightly simplify the above down using the entityName command. It would look something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
|fieldsAdd entity.customized_name
|fieldsAdd called_by,calls
|filter isNotNull(entity.customized_name)
|expand service1 = called_by[dt.entity.service]
|expand service2 = calls[dt.entity.service]
|fieldsAdd service1name = entityName(service1, type:"dt.entity.service")
|fieldsAdd service2name = entityName(service2, type:"dt.entity.service")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;There is that command as well as entityAttr used for extracting entity attributes. Docs for which can be found here:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/general-functions#entityName\" target="_blank"&gt;https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/general-functions#entityName&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 01:20:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259507#M1341</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-17T01:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Show service name on DQL Query</title>
      <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259616#M1344</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have already managed to visualize the names of the services. But now it is showing duplicate data. I have tried using dedup, but it is still showing duplicate data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 21:54:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/259616#M1344</guid>
      <dc:creator>soportetr</dc:creator>
      <dc:date>2024-10-17T21:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show service name on DQL Query</title>
      <link>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/281340#M2292</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried using the fields command to specify the fields you only want to show?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 09:25:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Show-service-name-on-DQL-Query/m-p/281340#M2292</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-11T09:25:30Z</dc:date>
    </item>
  </channel>
</rss>

