<?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: Migration from Old Dashboard to New Dashboard in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/290157#M5510</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know what might help to solve issue Marwan described above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is highly appreciated, thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 24 Nov 2025 14:29:58 GMT</pubDate>
    <dc:creator>Michal_Gebacki</dc:creator>
    <dc:date>2025-11-24T14:29:58Z</dc:date>
    <item>
      <title>Migration from Old Dashboard to New Dashboard</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/278431#M5120</link>
      <description>&lt;P&gt;I am trying to convert this code from the old dash board to have it working on the new dashboard but is not showing.&lt;/P&gt;
&lt;P&gt;The migration of the dashboard did not get this righ.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count The no of Management Zone:&lt;/P&gt;
&lt;P&gt;timeseries {&lt;BR /&gt;management_zone_count = count(dt.entities, filter: { entity.type == "MANAGEMENT_ZONE" })&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count the Numbers of Tag:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;timeseries {&lt;BR /&gt;applied_tags_count = count(dt.entities, filter: { entity.type == "TAG" })&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also tried this but none is working -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fetch dt.metrics&lt;BR /&gt;| filter startsWith(metric.key, "dt.sfm.server.automatically_applied_tags")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fetch dt.entities&lt;BR /&gt;| filter entity.type == "TAG"&lt;BR /&gt;| summarize count()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fetch dt.metrics&lt;BR /&gt;| filter startsWith(metric.key, "dt.sfm.server.management_zones")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fetch dt.entities&lt;BR /&gt;| filter entity.type == "MANAGEMENT_ZONE"&lt;BR /&gt;| summarize count()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is much appreciated.&lt;/P&gt;
&lt;P&gt;Marwan&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:28:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/278431#M5120</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2025-11-24T14:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Old Dashboard to New Dashboard</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/290157#M5510</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know what might help to solve issue Marwan described above?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is highly appreciated, thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 14:29:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/290157#M5510</guid>
      <dc:creator>Michal_Gebacki</dc:creator>
      <dc:date>2025-11-24T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from Old Dashboard to New Dashboard</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/290183#M5519</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This behaviour is expected.&lt;BR /&gt;In the new Dashboards (v3) the concept of dt.entities is no longer available in Grail, so the queries from the old dashboards cannot be migrated directly.&lt;/P&gt;&lt;P&gt;dt.entities does not exist&lt;/P&gt;&lt;P&gt;Tags are not entities → entity.type == "TAG" will never return data&lt;/P&gt;&lt;P&gt;Management Zones are not entities → entity.type == "MANAGEMENT_ZONE" will never return data&lt;BR /&gt;&lt;BR /&gt;You can only count entities that have a Management Zone assigned, for example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
| filter isNotNull(managementZones)
| expand managementZones
| summarize entities_in_mz = countDistinct(id)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_0-1764018675143.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30991iD75BB5D92F100B86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_0-1764018675143.png" alt="t_pawlak_0-1764018675143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And you can count entities that contain tags:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
| filter isNotNull(tags)
| expand tags
| summarize entities_with_tags = countDistinct(id)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_1-1764018705218.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30992i31B8C37CA0183D80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_1-1764018705218.png" alt="t_pawlak_1-1764018705218.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These queries count entities using MZs or tags —&lt;BR /&gt;but not the number of MZs or the number of tags themselves, because those are no longer represented as queryable entities in Grail.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, the new entity model does expose individual entity types, such as:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;dt.entity.service&lt;/LI&gt;&lt;LI&gt;dt.entity.host&lt;/LI&gt;&lt;LI&gt;dt.entity.process_group&lt;/LI&gt;&lt;LI&gt;dt.entity.application&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These entities contain a field called managementZones, so you can build a table of “how many entities belong to each management zone”, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.service
| expand managementZones
| summarize by:{managementZones}, count = countDistinct(id)&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="t_pawlak_2-1764018872138.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/30993i30DF70E5C5858A6E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="t_pawlak_2-1764018872138.png" alt="t_pawlak_2-1764018872138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 21:15:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Migration-from-Old-Dashboard-to-New-Dashboard/m-p/290183#M5519</guid>
      <dc:creator>t_pawlak</dc:creator>
      <dc:date>2025-11-24T21:15:05Z</dc:date>
    </item>
  </channel>
</rss>

