<?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 V2 API - Get Platform and Get Number of CPUs in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/180812#M1729</link>
    <description>&lt;P&gt;Which API do I use to get the configuration for an host entity. I am particularly interested in the number of CPUs, and in the platform (Windows, Linux, other).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 14:09:19 GMT</pubDate>
    <dc:creator>louis_gallo</dc:creator>
    <dc:date>2022-02-16T14:09:19Z</dc:date>
    <item>
      <title>V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/180812#M1729</link>
      <description>&lt;P&gt;Which API do I use to get the configuration for an host entity. I am particularly interested in the number of CPUs, and in the platform (Windows, Linux, other).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:09:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/180812#M1729</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-02-16T14:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/181742#M1739</link>
      <description>&lt;P&gt;You can use the Monitoring Entities API, here you can find the&amp;nbsp;&lt;STRONG&gt;osType, logicalCpuCores&amp;nbsp;&lt;/STRONG&gt;and&amp;nbsp;&lt;STRONG&gt;cpuCores&amp;nbsp;&lt;/STRONG&gt;parameters with the info you are looking for:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="axel_ayala_0-1646299016445.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/4608i3B1F67E3D19F1D48/image-size/medium?v=v2&amp;amp;px=400" role="button" title="axel_ayala_0-1646299016445.png" alt="axel_ayala_0-1646299016445.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 09:17:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/181742#M1739</guid>
      <dc:creator>axel_ayala</dc:creator>
      <dc:date>2022-03-03T09:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/181757#M1741</link>
      <description>&lt;P&gt;Thank you. I have already started using that API to get this information.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:41:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/181757#M1741</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-03-03T13:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217591#M2589</link>
      <description>&lt;P&gt;So what's the actual API query to get this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Their documentation has no examples in the EntitySelector section and this is the only google result I get for how to get this data, but I don't actually know what the API call is to get this returned.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 17:27:20 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217591#M2589</guid>
      <dc:creator>36Krazyfists</dc:creator>
      <dc:date>2023-07-11T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217639#M2590</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;A title="Monitored entities API" href="https://www.dynatrace.com/support/help/shortlink/api-entities-v2-get-entity" target="_blank" rel="noopener"&gt;Monitored entities API&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 22:08:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217639#M2590</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-07-11T22:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217782#M2591</link>
      <description>&lt;P&gt;Yes, I can see that in the comment I replied to... My question was more what the exact query was because there are no good examples of using the Monitored Entities API in their documentation.&amp;nbsp; There's little snippets here and there, but no full examples like they provide in their Metrics API docs.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 13:45:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217782#M2591</guid>
      <dc:creator>36Krazyfists</dc:creator>
      <dc:date>2023-07-12T13:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217788#M2592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P data-unlink="true"&gt;For example, you make a GET request against "https://{environmentid}.live.dynatrace.com/api/v2/entities?pageSize=200&amp;amp;entitySelector=type("HOST")"&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you received host list:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
    "totalCount": 1,
    "pageSize": 200,
    "entities": [
        {
            "entityId": "HOST-XXXXXXXXXXXXXXXX",
            "type": "HOST",
            "displayName": "YYYYYYYYY"
        }
    ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using entityId, you can get more details makinng another GET request against "https://{environmentid}.live.dynatrace.com/api/v2/entities/HOST-XXXXXXXXXXXXXXXX".&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 07:44:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/217788#M2592</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2023-07-13T07:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/227254#M2736</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;when you get into&amp;nbsp; API V2&amp;nbsp; search&amp;nbsp; for entities&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Saharnir_0-1698830946796.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15077i766B1161EC15FF24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Saharnir_0-1698830946796.png" alt="Saharnir_0-1698830946796.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you have field call : entityselector, put the parameter&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;type("host")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;seconded&amp;nbsp;field call : fields, put the parameter&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;properties.logicalCpuCores,properties.cpucores,properties.ostype&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;that give you the CPU cores ,CPU logical cores and operation system&lt;/P&gt;&lt;P&gt;**when you run that API from the Dynatrace you will get a window with the query that you can use later on&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 09:41:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/227254#M2736</guid>
      <dc:creator>Saharnir</dc:creator>
      <dc:date>2023-11-01T09:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - Get Platform and Get Number of CPUs</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/266720#M3564</link>
      <description>&lt;P&gt;Is there a list of properties available in the documenation? I need to see if number of core and storage is an option....&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 21:18:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-Get-Platform-and-Get-Number-of-CPUs/m-p/266720#M3564</guid>
      <dc:creator>susmita_k</dc:creator>
      <dc:date>2025-01-06T21:18:39Z</dc:date>
    </item>
  </channel>
</rss>

