<?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: filter based on entityName in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253571#M3324</link>
    <description>&lt;P&gt;But with the metric query I pulled entityID data. If possible share me an sample url with entityName function&lt;/P&gt;&lt;P&gt;and entitySelector parameter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2024 09:56:14 GMT</pubDate>
    <dc:creator>Cky007</dc:creator>
    <dc:date>2024-08-19T09:56:14Z</dc:date>
    <item>
      <title>filter based on entityName</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253569#M3322</link>
      <description>&lt;P&gt;While I trying to filter the entities based on entityName I'm not able to fetch with &lt;A href="https://{your-environment}/api/v2/metrics/query?entitySelector=entityname.equals(%22{entityname}%22)" target="_blank" rel="noopener"&gt;https://{your-environment}/api/v2/metrics/query?entitySelector=entityname.equals(%22{entityname}%22)&lt;/A&gt;. with this api I'm not able to fetch the entites so help me out to fetch the entites on base of entityName.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 09:28:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253569#M3322</guid>
      <dc:creator>Cky007</dc:creator>
      <dc:date>2024-08-19T09:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: filter based on entityName</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253570#M3323</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79551"&gt;@Cky007&lt;/a&gt;&amp;nbsp;, your trying use metric query API, where you pull the metric values.&lt;/P&gt;&lt;P&gt;To Fetch Entitles and entity details&amp;nbsp; you may need to use below APIs&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-all-entities-list&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-entity" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/api-entities-v2-get-entity&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 09:43:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253570#M3323</guid>
      <dc:creator>VenkataSainath</dc:creator>
      <dc:date>2024-08-19T09:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: filter based on entityName</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253571#M3324</link>
      <description>&lt;P&gt;But with the metric query I pulled entityID data. If possible share me an sample url with entityName function&lt;/P&gt;&lt;P&gt;and entitySelector parameter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 09:56:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253571#M3324</guid>
      <dc:creator>Cky007</dc:creator>
      <dc:date>2024-08-19T09:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: filter based on entityName</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253573#M3325</link>
      <description>&lt;P&gt;curl -L -X GET '&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:host.cpu.(usage,idle)&amp;amp;entitySelector=type(%22dt.entity.host%22),entityId(%22HOST-0990886B7D39FE29%22,%22HOST-0956C3557E9109C1%22)&amp;amp;from=now-5m" target="_blank"&gt;https://{environmentid}.live.dynatrace.com/api/v2/metrics/query?metricSelector=builtin:host.cpu.(usage,idle)&amp;amp;entitySelector=type(%22dt.entity.host%22),entityId(%22HOST-0990886B7D39FE29%22,%22HOST-0956C3557E9109C1%22)&amp;amp;from=now-5m&lt;/A&gt;' \&lt;BR /&gt;-H 'Authorization: Api-Token abcdefjhij1234567890' \&lt;BR /&gt;-H 'Accept: application/json'&lt;BR /&gt;With the help of entityId i can retrive right&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 10:01:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/filter-based-on-entityName/m-p/253573#M3325</guid>
      <dc:creator>Cky007</dc:creator>
      <dc:date>2024-08-19T10:01:40Z</dc:date>
    </item>
  </channel>
</rss>

