<?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: Dashboard tile with number of hosts with CPU bigger than 80%? in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260432#M4445</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your selector and it was very volatile. It would sometimes work, but others not.&lt;/P&gt;&lt;P&gt;But I have worked with it, and came to this one, only without the last:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.cpu.usage:splitBy("dt.entity.host"):filter(series(avg,gt(80))):count:splitby()&lt;/LI-CODE&gt;&lt;P&gt;This one seems to work perfectly!&lt;/P&gt;&lt;P&gt;Thanks for the double splitBy() idea!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2024 07:56:42 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2024-10-24T07:56:42Z</dc:date>
    <item>
      <title>Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260395#M4439</link>
      <description>&lt;P&gt;In Data Explorer, if you want to have a list of hosts that have, eg. more than 80% of CPU for a certain timeframe, you put the following metric selector and select table:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.cpu.usage:splitBy("dt.entity.host"):filter(series(avg,gt(80)))&lt;/LI-CODE&gt;&lt;P&gt;Now imagine there are 10 hosts in the list and you want a single value in a dashboard with 10 in it. Been struggling to get this use-case done &lt;span class="lia-unicode-emoji" title=":rolling_on_the_floor_laughing:"&gt;🤣&lt;/span&gt; Any ideas?&lt;BR /&gt;And yes, it's for a Managed environment...&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 23:51:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260395#M4439</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-10-23T23:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260403#M4440</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;, how about using the table and pin it to dashboard ?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_devulapalli_0-1729739424192.png" style="width: 628px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24058iE7ACC5F2730AEC22/image-dimensions/628x347?v=v2" width="628" height="347" role="button" title="p_devulapalli_0-1729739424192.png" alt="p_devulapalli_0-1729739424192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 03:11:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260403#M4440</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-24T03:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260416#M4441</link>
      <description>&lt;P&gt;I'm afraid it's not possible, i was trying hard with similar task.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 06:40:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260416#M4441</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T06:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260417#M4442</link>
      <description>&lt;P&gt;In fact table in data explorer is only way to really count records, but unfortunately, when pinned to dashboard that count is not displayed.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 06:43:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260417#M4442</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T06:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260423#M4443</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/17213"&gt;@AntonioSousa&lt;/a&gt;&amp;nbsp;what about this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.cpu.usage:splitBy("dt.entity.host"):filter(series(avg,gt(10))):count:splitby():last&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julius_Loman_0-1729754607347.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24061i5EACB7FE357F2692/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julius_Loman_0-1729754607347.png" alt="Julius_Loman_0-1729754607347.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:24:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260423#M4443</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2024-10-24T07:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260429#M4444</link>
      <description>&lt;P&gt;It's not working - f.e. 5 hosts with cpu&amp;gt;0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rastislav_danis_0-1729756165473.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24063i3CA24E36DE57C66B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rastislav_danis_0-1729756165473.png" alt="rastislav_danis_0-1729756165473.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:53:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260429#M4444</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T07:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260432#M4445</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your selector and it was very volatile. It would sometimes work, but others not.&lt;/P&gt;&lt;P&gt;But I have worked with it, and came to this one, only without the last:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.cpu.usage:splitBy("dt.entity.host"):filter(series(avg,gt(80))):count:splitby()&lt;/LI-CODE&gt;&lt;P&gt;This one seems to work perfectly!&lt;/P&gt;&lt;P&gt;Thanks for the double splitBy() idea!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:56:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260432#M4445</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-10-24T07:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260438#M4446</link>
      <description>&lt;P&gt;I found out that you have to timeshift and then it's finally working:&lt;/P&gt;&lt;P&gt;builtin:host.cpu.usage:splitBy("dt.entity.host"):filter(series(avg,gt(0))):count:splitby():timeshift(-1m)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rastislav_danis_0-1729757162423.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24066iE356515C60CF1892/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rastislav_danis_0-1729757162423.png" alt="rastislav_danis_0-1729757162423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 08:06:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260438#M4446</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260440#M4447</link>
      <description>&lt;P&gt;it's b/c data from all records are not collected in last time bucket, for other metrics collected with &amp;gt;1m interval you will need to perform bigger timeshift. Here is examle of what you can get if doing last():&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rastislav_danis_1-1729757382321.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24067i74B56E7C5A171794/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rastislav_danis_1-1729757382321.png" alt="rastislav_danis_1-1729757382321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 08:10:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260440#M4447</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T08:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260447#M4449</link>
      <description>&lt;P&gt;simple skipping :last() without timeshift() will also work for single value, but you need to let "Auto" or "Maximum" Fold transformation with global timeframe &amp;gt;1m:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rastislav_danis_0-1729757843369.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24071i4F3F69CBF94643E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rastislav_danis_0-1729757843369.png" alt="rastislav_danis_0-1729757843369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:54:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260447#M4449</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T10:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260495#M4450</link>
      <description>&lt;P&gt;If you skip the first splitBy() transformation, the expression can be simplified a bit and it still works.&lt;/P&gt;&lt;P&gt;The only requirement is that you apply the second splitBy() (in my case, the only one) before you apply the :count transformation, otherwise it won't work.&lt;/P&gt;&lt;P&gt;As a result, I got this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:host.cpu.usage:filter(series(avg,gt(80))):splitBy():count&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 10:29:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260495#M4450</guid>
      <dc:creator>PedroDeodato</dc:creator>
      <dc:date>2024-10-24T10:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260504#M4451</link>
      <description>&lt;P&gt;Thanks all for your input! Several ways to do something that I believe is a good use-case &lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;BR /&gt;Which leaves me thinking that the efficiency of doing certain approaches in Data Explorer might lead to different usage of resources inside the Dynatrace platform.&lt;BR /&gt;Looks like &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40725"&gt;@PedroDeodato&lt;/a&gt; metric selector is the most efficient, but does anyone have any idea which metric selectors are more efficient or not?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 11:22:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260504#M4451</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2024-10-24T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard tile with number of hosts with CPU bigger than 80%?</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260506#M4452</link>
      <description>&lt;P&gt;It was very useful for me as well, thanks for posting question! &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40725"&gt;@PedroDeodato&lt;/a&gt; 's selector is ok, but you have to also check Fold transformation (for Single value visualization) to be in correct mode (Auto or Maximum).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 11:04:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Dashboard-tile-with-number-of-hosts-with-CPU-bigger-than-80/m-p/260506#M4452</guid>
      <dc:creator>rastislav_danis</dc:creator>
      <dc:date>2024-10-24T11:04:58Z</dc:date>
    </item>
  </channel>
</rss>

