<?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 Entity_tags DQL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Entity-tags-DQL/m-p/277481#M2099</link>
    <description>&lt;P&gt;I have a dashboard that shows the problems that arrive to a specific alerting profile.&lt;BR /&gt;The problem is that this alerting profile receives problems from several hosts and I would like to see to which host corresponds each problem, each host has a tag with the host name.&lt;BR /&gt;I'm trying to show the entity_tag field only with that host tag but I get all the tags, I don't know how to solve it.&lt;/P&gt;</description>
    <pubDate>Mon, 19 May 2025 11:29:25 GMT</pubDate>
    <dc:creator>Pablo2</dc:creator>
    <dc:date>2025-05-19T11:29:25Z</dc:date>
    <item>
      <title>Entity_tags DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Entity-tags-DQL/m-p/277481#M2099</link>
      <description>&lt;P&gt;I have a dashboard that shows the problems that arrive to a specific alerting profile.&lt;BR /&gt;The problem is that this alerting profile receives problems from several hosts and I would like to see to which host corresponds each problem, each host has a tag with the host name.&lt;BR /&gt;I'm trying to show the entity_tag field only with that host tag but I get all the tags, I don't know how to solve it.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 11:29:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Entity-tags-DQL/m-p/277481#M2099</guid>
      <dc:creator>Pablo2</dc:creator>
      <dc:date>2025-05-19T11:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: Entity_tags DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Entity-tags-DQL/m-p/277484#M2100</link>
      <description>&lt;P&gt;You can find all the details to accessing tags on entities here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/grail-querying-monitored-entities#entity-tags" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/grail-querying-monitored-entities#entity-tags&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For your case something like this should do the trick&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.host
| expand tags, alias:tag_string
| parse tag_string, """(('['LD:tag_context ']' LD:tag_key (!&amp;lt;&amp;lt;'\\' ':') LD:tag_value)|(LD:tag_key (!&amp;lt;&amp;lt;'\\' ':') LD:tag_value)|LD:tag_key)"""
| filter tag_key == "entity_tag"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 19 May 2025 11:56:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Entity-tags-DQL/m-p/277484#M2100</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2025-05-19T11:56:50Z</dc:date>
    </item>
  </channel>
</rss>

