<?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 Report all hosts with 7 days average CPU utilisation below &amp;quot;X&amp;quot; in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Report-all-hosts-with-7-days-average-CPU-utilisation-below-quot/m-p/182410#M2225</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;first time posting here. Very new to Dynatrace reporting and I need to provide the following in a table/list/report. All monitored hosts which have low processor utilization (for example below 15%) for the previous 7 days (we may want to widen this window to 14 days).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We need to be able to see the number of processors and/or cores in each host too (that would be ideal - but not essential).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The Reporting option didn't work for me as the table view didn't provide a 'slider' or a Page x of y - to display all results.&amp;nbsp;Any other options would be great. As said, very new to the reporting/query side of Dynatrace so this might be a very simple answer to which Google search hasn't provided me any light at the end of the tunnel.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 25 May 2023 12:30:38 GMT</pubDate>
    <dc:creator>Phil-Luke-KTB</dc:creator>
    <dc:date>2023-05-25T12:30:38Z</dc:date>
    <item>
      <title>Report all hosts with 7 days average CPU utilisation below "X"</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Report-all-hosts-with-7-days-average-CPU-utilisation-below-quot/m-p/182410#M2225</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;first time posting here. Very new to Dynatrace reporting and I need to provide the following in a table/list/report. All monitored hosts which have low processor utilization (for example below 15%) for the previous 7 days (we may want to widen this window to 14 days).&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;We need to be able to see the number of processors and/or cores in each host too (that would be ideal - but not essential).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The Reporting option didn't work for me as the table view didn't provide a 'slider' or a Page x of y - to display all results.&amp;nbsp;Any other options would be great. As said, very new to the reporting/query side of Dynatrace so this might be a very simple answer to which Google search hasn't provided me any light at the end of the tunnel.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 12:30:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Report-all-hosts-with-7-days-average-CPU-utilisation-below-quot/m-p/182410#M2225</guid>
      <dc:creator>Phil-Luke-KTB</dc:creator>
      <dc:date>2023-05-25T12:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Report all hosts with 7 days average CPU utilisation below X</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Report-all-hosts-with-7-days-average-CPU-utilisation-below-quot/m-p/182565#M2228</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/48573"&gt;@Phil-Luke-KTB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This sounds like a good case for our &lt;A href="https://www.dynatrace.com/support/help/shortlink/explorer" target="_self"&gt;Data Explorer&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Before we start there, we can go to the left-hand menu and open "Observe and explore" &amp;gt; "&lt;A href="https://www.dynatrace.com/support/help/shortlink/metrics-browser" target="_self"&gt;Metrics&lt;/A&gt;" to see a comprehensive list of metrics in your environment.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I did a text filter search for "cpu percent" and found a CPU % metric that applies to Hosts. I then charted this metric.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_0-1647376002080.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4802iE251623DD30913B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_0-1647376002080.png" alt="clyde_anderson_0-1647376002080.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then chose to split by Host&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_1-1647376066585.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4803i20C0848510971777/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_1-1647376066585.png" alt="clyde_anderson_1-1647376066585.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your requirements included filtering for utilization &amp;lt; 15%, for example.&amp;nbsp; Thankfully, the Data Explorer allows us to do anything that is possible through the &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2" target="_self"&gt;Metrics API v2&lt;/A&gt;&amp;nbsp;- where we see specifically that we can do &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-selector#filter" target="_self"&gt;filtering&lt;/A&gt;&amp;nbsp;on timeseries data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To do so, let's click the "Code" tab button, and, following the rules of the API, we can add in our own filter (there should be some auto-complete to assist you).&lt;/P&gt;
&lt;DIV id="tinyMceEditor_ae1ad553420d5eclyde_anderson_7" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_9-1647376516251.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4807iA3BB9AB2A0203002/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_9-1647376516251.png" alt="clyde_anderson_9-1647376516251.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a graphical representation, you may notice data points that fall above 15% in this example. From our documentation for the filter:&lt;/P&gt;
&lt;H4 class="heading h4 lia-indent-padding-left-30px"&gt;Series condition&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;series&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;condition filters the time-aggregated value of the data points for a series by the provided criterion. That is, the specified aggregation is applied and then this single value result is compared to the reference value using the specified operator. For example, for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;series(avg, gt(10))&lt;/CODE&gt;, firstly the average over all data points of the series is calculated and, then, this value is checked to be greater than 10. If a series does not match this criterion, it is removed from the provided result. That is, the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;series&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;operator cannot be used to filter individual data points of a series.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We will show series whose &lt;EM&gt;average over the entire time frame&lt;/EM&gt; meets the filter criteria.&lt;BR /&gt;This can be shown if we change the visualization to "Table."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_10-1647376788230.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4808i5B37FAE4B9F903F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_10-1647376788230.png" alt="clyde_anderson_10-1647376788230.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_11-1647376842952.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4809i7E88611424AD13CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_11-1647376842952.png" alt="clyde_anderson_11-1647376842952.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need to export this data, copying the text from the Code tab should essentially allow for plug-n-play in the &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-metrics-v2-get-datapoints" target="_self"&gt;Metrics API v2&lt;/A&gt; - use this for the &lt;FONT face="courier new,courier"&gt;metricSelector&lt;/FONT&gt; parameter of your API call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any questions on any of this, I invite you to reach out to our Dynatrace ONE live support which can be accessed from directly inside your environment! One of our many Product Specialists will be happy to assist you with any of this in real time and answer any other questions you may have. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clyde_anderson_12-1647377162975.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4810i38F3941292066A90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clyde_anderson_12-1647377162975.png" alt="clyde_anderson_12-1647377162975.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Clyde | Dynatrace ONE&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 20:47:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Report-all-hosts-with-7-days-average-CPU-utilisation-below-quot/m-p/182565#M2228</guid>
      <dc:creator>clyde_anderson</dc:creator>
      <dc:date>2022-03-15T20:47:31Z</dc:date>
    </item>
  </channel>
</rss>

