<?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 Metrics to fetch services specific to a host tag in Dynatrace Managed in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/266703#M4278</link>
    <description>&lt;P&gt;I would like to filter out all&amp;nbsp; the services based on a host tag, what query would help me fetch that info.&lt;/P&gt;
&lt;P&gt;Fetch problems based on host tag.&lt;/P&gt;
&lt;P&gt;My managemnet zone has 9 environmnets. I would like to segregate them based on a host tag that I defined on the host.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jan 2026 13:04:14 GMT</pubDate>
    <dc:creator>ushaghosh</dc:creator>
    <dc:date>2026-01-05T13:04:14Z</dc:date>
    <item>
      <title>Metrics to fetch services specific to a host tag in Dynatrace Managed</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/266703#M4278</link>
      <description>&lt;P&gt;I would like to filter out all&amp;nbsp; the services based on a host tag, what query would help me fetch that info.&lt;/P&gt;
&lt;P&gt;Fetch problems based on host tag.&lt;/P&gt;
&lt;P&gt;My managemnet zone has 9 environmnets. I would like to segregate them based on a host tag that I defined on the host.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 13:04:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/266703#M4278</guid>
      <dc:creator>ushaghosh</dc:creator>
      <dc:date>2026-01-05T13:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to fetch services specific to a host tag</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/266709#M4279</link>
      <description>&lt;P&gt;You can do something like this to get a list of services where the hosts that run them have a certain tag.&lt;/P&gt;&lt;P&gt;fetch dt.entity.service&lt;BR /&gt;| expand dt.entity.host=runs_on[dt.entity.host]&lt;BR /&gt;| fieldsAdd entityAttr(dt.entity.host, "tags")&lt;BR /&gt;| filter matchesPhrase(dt.entity.host.tags, "App:apptag")&lt;BR /&gt;| dedup id&lt;BR /&gt;| fields entity.name, id&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 17:49:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/266709#M4279</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2025-01-06T17:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to fetch services specific to a host tag</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/269599#M4280</link>
      <description>&lt;P&gt;I do not see this option in my managed deployment. For me it starts with&amp;nbsp;builtin:&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 12:31:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/269599#M4280</guid>
      <dc:creator>ushaghosh</dc:creator>
      <dc:date>2025-02-10T12:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to fetch services specific to a host tag</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/277276#M4281</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/84580"&gt;@ushaghosh&lt;/a&gt;,&lt;BR /&gt;Dynatrace Managed doesn't use DQL, as the Grail technology is available for customers using Dynatrace SaaS. I'll move your question to the Managed forum, as maybe someone there will be able to help solve your use case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 09:33:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/277276#M4281</guid>
      <dc:creator>MaciejNeumann</dc:creator>
      <dc:date>2025-05-15T09:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Metrics to fetch services specific to a host tag</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/277424#M4282</link>
      <description>&lt;P&gt;you will need an entity selector like this one&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("SERVICE"),fromRelationships.runsOnHost(type(HOST),tag("[Azure]tenant:CustomerA"))&lt;/LI-CODE&gt;&lt;P&gt;(you can try it out on the monitored entities api endpoint)&lt;/P&gt;&lt;P&gt;Or you can directly use it on a metric line:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:service.response.client
:filter(
in("dt.entity.service",entitySelector(
    "type(SERVICE),fromRelationships.runsOnHost(type(HOST),tag(~"[Azure]tenant:CustomerA~"))"
))
)
:splitBy("dt.entity.service"):sort(value(auto,descending)):limit(20)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 May 2025 10:14:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metrics-to-fetch-services-specific-to-a-host-tag-in-Dynatrace/m-p/277424#M4282</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2025-05-17T10:14:32Z</dc:date>
    </item>
  </channel>
</rss>

