<?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 The inner workings of the entity selector in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/The-inner-workings-of-the-entity-selector/m-p/270957#M35817</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When using an entity selector in an API you can use an entity id ('s):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRIKE&gt;Entity type:&amp;nbsp;type("TYPE")&lt;/STRIKE&gt;&lt;/LI&gt;&lt;LI&gt;Dynatrace entity ID:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And looking at DQL:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;fetch dt.entity.host&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| filter id == "HOST-461FB6671E771234"&lt;/P&gt;&lt;P&gt;I assume all entities types have there own little bucket (=class in the Graph)&lt;/P&gt;&lt;P&gt;But now the question/remark:&lt;/P&gt;&lt;P&gt;When you want to use, in DQL, an entity id, you would need to look at the TYPE what can be found in the name before the '-',&amp;nbsp; and then you can execute the fetch dt.entity.TYPE&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 15:05:32 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2025-02-25T15:05:32Z</dc:date>
    <item>
      <title>The inner workings of the entity selector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/The-inner-workings-of-the-entity-selector/m-p/270957#M35817</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;When using an entity selector in an API you can use an entity id ('s):&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRIKE&gt;Entity type:&amp;nbsp;type("TYPE")&lt;/STRIKE&gt;&lt;/LI&gt;&lt;LI&gt;Dynatrace entity ID:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;entityId("id"). You can specify several IDs, separated by a comma (entityId("id-1","id-2")). All requested entities must be of the same type.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;And looking at DQL:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;fetch dt.entity.host&lt;BR /&gt;&amp;nbsp; &amp;nbsp;| filter id == "HOST-461FB6671E771234"&lt;/P&gt;&lt;P&gt;I assume all entities types have there own little bucket (=class in the Graph)&lt;/P&gt;&lt;P&gt;But now the question/remark:&lt;/P&gt;&lt;P&gt;When you want to use, in DQL, an entity id, you would need to look at the TYPE what can be found in the name before the '-',&amp;nbsp; and then you can execute the fetch dt.entity.TYPE&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 15:05:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/The-inner-workings-of-the-entity-selector/m-p/270957#M35817</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-02-25T15:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: The inner workings of the entity selector</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/The-inner-workings-of-the-entity-selector/m-p/270984#M35820</link>
      <description>&lt;P&gt;Yes, Henk you've got the right idea here! Here's a DQL query proving your point.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KeeganNelson_0-1740508846515.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26648i597018ECF324BC61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KeeganNelson_0-1740508846515.png" alt="KeeganNelson_0-1740508846515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 18:41:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/The-inner-workings-of-the-entity-selector/m-p/270984#M35820</guid>
      <dc:creator>KeeganNelson</dc:creator>
      <dc:date>2025-02-25T18:41:13Z</dc:date>
    </item>
  </channel>
</rss>

