<?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 How to get host group name for the mobile applications? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-group-name-for-the-mobile-applications/m-p/237138#M2943</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;How to get host group name for the mobile applications using REST API's ? Currently I am using below API to get this info but its not retrieving it.&lt;/P&gt;
&lt;P&gt;api/v2/entities?entitySelector=type(HOST),hostGroupName("Test")&amp;amp;from=now-20y&amp;amp;fields=+tags,+managementZones,+properties,+fromRelationships,+toRelationships&amp;amp;pageSize=4000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 13:35:22 GMT</pubDate>
    <dc:creator>mundlareddy</dc:creator>
    <dc:date>2024-08-08T13:35:22Z</dc:date>
    <item>
      <title>How to get host group name for the mobile applications?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-group-name-for-the-mobile-applications/m-p/237138#M2943</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;How to get host group name for the mobile applications using REST API's ? Currently I am using below API to get this info but its not retrieving it.&lt;/P&gt;
&lt;P&gt;api/v2/entities?entitySelector=type(HOST),hostGroupName("Test")&amp;amp;from=now-20y&amp;amp;fields=+tags,+managementZones,+properties,+fromRelationships,+toRelationships&amp;amp;pageSize=4000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 13:35:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-group-name-for-the-mobile-applications/m-p/237138#M2943</guid>
      <dc:creator>mundlareddy</dc:creator>
      <dc:date>2024-08-08T13:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get host group name for the mobile applications</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-group-name-for-the-mobile-applications/m-p/237564#M2952</link>
      <description>&lt;P&gt;Just tried on my tenant&lt;/P&gt;&lt;PRE&gt;api/v2/entities?entitySelector=type%28host%29%2ChostGroupName.exists%28%29&amp;amp;fields=properties.hostGroupName&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and actually works fine.&lt;/P&gt;&lt;PRE&gt;.....,
    {
      &lt;SPAN class=""&gt;"entityId"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"HOST-32F3C2A7A12EBD33"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"HOST"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"displayName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"uso*****_****-8k68r"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;      &lt;SPAN class=""&gt;"properties"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;        &lt;SPAN class=""&gt;"hostGroupName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"P***_***_**"&lt;/SPAN&gt;
      }
    },......&lt;/PRE&gt;&lt;P&gt;are you sure host group is correctly assigned to the hosts you're extracting?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:43:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/How-to-get-host-group-name-for-the-mobile-applications/m-p/237564#M2952</guid>
      <dc:creator>paolo_fumanelli</dc:creator>
      <dc:date>2024-02-20T16:43:32Z</dc:date>
    </item>
  </channel>
</rss>

