<?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: Fetch &amp;quot;Consumed Host Units&amp;quot; for a given Host using the &amp;quot;Monitored Entities API&amp;quot; (API V2) in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/218321#M2601</link>
    <description>&lt;P data-unlink="true"&gt;https://{environmentid}.live.dynatrace.com/api/v1/entity/infrastructure/hosts?relativeTime=2hours&amp;amp;includeDetails=true&amp;amp;API-TOKEN=&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;Try again&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 18 Jul 2023 08:19:16 GMT</pubDate>
    <dc:creator>chakrit</dc:creator>
    <dc:date>2023-07-18T08:19:16Z</dc:date>
    <item>
      <title>Fetch "Consumed Host Units" for a given Host using the "Monitored Entities API" (API V2)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/216718#M2583</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;Does anyone know how to fetch&amp;nbsp;&lt;STRONG&gt;Consumed Host Units&lt;/STRONG&gt; for a given host, using the&amp;nbsp;&lt;STRONG&gt;Monitored Entities API&lt;/STRONG&gt;?&lt;BR /&gt;I have a script which uses the&amp;nbsp;&lt;STRONG&gt;Environment API V1&lt;/STRONG&gt; to grab &lt;STRONG&gt;Consumed Host Units&lt;/STRONG&gt; for my hosts, but am looking to migrate to V2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My script has been working fine for a while now, but I'm concerned it might stop working one day seeing as it utilises the&amp;nbsp;&lt;STRONG&gt;Topology and Smartscape API&lt;/STRONG&gt;.&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;**According to &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-migration-entities" target="_self"&gt;this link&lt;/A&gt;, this API was &lt;STRONG&gt;Deprecated in v1.263&lt;/STRONG&gt;. Given the API hasn't yet broken (as of writing this &lt;STRONG&gt;03JULY2023&lt;/STRONG&gt;), my script is working on borrowed time.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://www.dynatrace.com/support/help/shortlink/api-migration-entities" target="_self"&gt;Official Dynatrace DOC&lt;/A&gt; has a page to help with migrating from the&amp;nbsp;&lt;STRONG&gt;Topology and Smartscape API&lt;/STRONG&gt;&amp;nbsp;to the&amp;nbsp;&lt;STRONG&gt;Monitored Entities API&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/basics/deprecation-migration-guides/topology-v1-to-entity-v2#tabgroup--example-create--topology-and-smartscape-api" target="_self"&gt;As can be seen here on the Page,&lt;/A&gt;&amp;nbsp;&lt;STRONG&gt;Host Unit Consumption&lt;/STRONG&gt; is definitely reported on with&amp;nbsp;&lt;STRONG&gt;Topology and Smartscape API&lt;/STRONG&gt;, but I'm struggling to see the same value reported with the&amp;nbsp;&lt;STRONG&gt;Monitored Entities API&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlfredLe_0-1688357684262.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12617i2DC794F11C8C784D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AlfredLe_0-1688357684262.png" alt="AlfredLe_0-1688357684262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Does anyone know where I can find&amp;nbsp;&lt;STRONG&gt;Host Unit Consumption&lt;/STRONG&gt; using the new &lt;STRONG&gt;Monitored Entities&amp;nbsp;API&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 16:48:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/216718#M2583</guid>
      <dc:creator>Alfred-Le</dc:creator>
      <dc:date>2023-07-13T16:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch "Consumed Host Units" for a given Host using the "Monitored Entities API" (API V2)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/218321#M2601</link>
      <description>&lt;P data-unlink="true"&gt;https://{environmentid}.live.dynatrace.com/api/v1/entity/infrastructure/hosts?relativeTime=2hours&amp;amp;includeDetails=true&amp;amp;API-TOKEN=&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;Try again&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 18 Jul 2023 08:19:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/218321#M2601</guid>
      <dc:creator>chakrit</dc:creator>
      <dc:date>2023-07-18T08:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch "Consumed Host Units" for a given Host using the "Monitored Entities API" (API V2)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/218323#M2602</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/42673"&gt;@chakrit&lt;/a&gt;,&lt;BR /&gt;That's the exact API I am looking to pivot away from due to its&amp;nbsp;&lt;EM&gt;Deprecated Status&lt;/EM&gt;.&lt;BR /&gt;&lt;BR /&gt;I have found however, that I can get all the same information provided by &lt;EM&gt;&lt;STRONG&gt;v1/entity/infrastructure/hosts&lt;/STRONG&gt;&lt;/EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;in&amp;nbsp;&lt;STRONG&gt;V1&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;Oneagents on a&lt;/STRONG&gt; &lt;STRONG&gt;host&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;So am using that instead &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 03:39:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/218323#M2602</guid>
      <dc:creator>Alfred-Le</dc:creator>
      <dc:date>2023-07-18T03:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch "Consumed Host Units" for a given Host using the "Monitored Entities API" (API V2)</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/276582#M3731</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/57429"&gt;@Alfred-Le&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i m using the same api v1 oneagents , i have question how to fetch for all host the consumed host units since it giving larger response file&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 17:13:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/Fetch-quot-Consumed-Host-Units-quot-for-a-given-Host-using-the/m-p/276582#M3731</guid>
      <dc:creator>karanidnani6</dc:creator>
      <dc:date>2025-05-06T17:13:26Z</dc:date>
    </item>
  </channel>
</rss>

