<?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: Is there a V2 (or V1) API Call to Show Platform?? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/180236#M1723</link>
    <description>&lt;P&gt;It depends. You can also query host by host names and fetch the host properties. You can query the host by the entitySelector:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(HOST),entityName(....)&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 05 Feb 2022 18:54:37 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2022-02-05T18:54:37Z</dc:date>
    <item>
      <title>V2 or V1 API Call to show platform</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/179763#M1719</link>
      <description>&lt;P&gt;I can pull metrics quite nicely now for hosts, process group instances, and custom devices.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is if there is an API call that can show the platform for an entity - i.e. Windows, Linux, OpenShift, other?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 08:58:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/179763#M1719</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2024-08-21T08:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a V2 (or V1) API Call to Show Platform??</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/179768#M1720</link>
      <description>&lt;P&gt;Sure there is. You need to call the &lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2" target="_self"&gt;Monitored Entities v2&lt;/A&gt; API to fetch information about any entities.&amp;nbsp; For example to query OS Type for a host you need to specify &lt;FONT face="courier new,courier"&gt;+properties.osType&lt;/FONT&gt; in the fields query parameter.&lt;BR /&gt;Be sure to use API client for the API such as &lt;A href="https://github.com/dynatrace-oss/api-client-python" target="_self"&gt;dt&lt;/A&gt; if it fits your scenario..&lt;BR /&gt;If you want to to query OS type of a process group, you can query it using relationships. For example to query HOST running a PROCESS_GROUP_INSTANCE:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(HOST),toRelationships.isProcessOf(entityId(PROCESS_GROUP_INSTANCE-0945C0E96C7D297A))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jan 2022 21:28:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/179768#M1720</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-01-30T21:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a V2 (or V1) API Call to Show Platform??</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/180170#M1722</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I can only have a dt.host.name, I assume that I have to convert that to an entityId first right? How can I do that. Most of my data coming back as dt.host.name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that makes sense.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 22:28:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/180170#M1722</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-02-03T22:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a V2 (or V1) API Call to Show Platform??</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/180236#M1723</link>
      <description>&lt;P&gt;It depends. You can also query host by host names and fetch the host properties. You can query the host by the entitySelector:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type(HOST),entityName(....)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 05 Feb 2022 18:54:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-or-V1-API-Call-to-show-platform/m-p/180236#M1723</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-02-05T18:54:37Z</dc:date>
    </item>
  </channel>
</rss>

