<?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: V2 API - What is the best and fastest way to see if a certain process group instance is running on a server? in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184506#M1825</link>
    <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding. I am having a hard time trying to get this to work. Which V2 API your suggestion apply to? I am using the metrics API. Is that the wrong one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
    <pubDate>Mon, 11 Apr 2022 16:50:28 GMT</pubDate>
    <dc:creator>louis_gallo</dc:creator>
    <dc:date>2022-04-11T16:50:28Z</dc:date>
    <item>
      <title>V2 API - What is the best and fastest way to see if a certain process group instance is running on a server?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184433#M1823</link>
      <description>&lt;P&gt;Short of dumping out the process groups timeseries data for a server, is there an easy way to see if a certain process group instance is running on a server?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for lets say tag mytag:myserver, can I easily see of a process group instance named "Lou" is running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently dumping out all the PGI's for a certain time period for my server, but that takes a lot of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 19:30:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184433#M1823</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-04-08T19:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - What is the best and fastest way to see if a certain process group instance is running on a server?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184437#M1824</link>
      <description>&lt;P&gt;Entity selectors are pretty powerful and should be able to give you this quickly. Here is an example to view only hosts with a process group instance with a specified name running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;type("HOST"),toRelationships.isProcessOf(type("PROCESS_GROUP_INSTANCE"),detectedName("Lou"))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will return only hosts that have a process group instance with that detected name running on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically you have your 'main' entity selector which in this example is just all HOSTs but you could limit it to ones with a certain tag, and then in the toRelationships.isProcessOf(...) we have a second entity selector which is for process group instances with that detected name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if this isn't exactly what you need it should be enough to get started.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 21:02:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184437#M1824</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2022-04-08T21:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - What is the best and fastest way to see if a certain process group instance is running on a server?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184506#M1825</link>
      <description>&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for responding. I am having a hard time trying to get this to work. Which V2 API your suggestion apply to? I am using the metrics API. Is that the wrong one?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lou&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 16:50:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184506#M1825</guid>
      <dc:creator>louis_gallo</dc:creator>
      <dc:date>2022-04-11T16:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: V2 API - What is the best and fastest way to see if a certain process group instance is running on a server?</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184510#M1826</link>
      <description>&lt;P&gt;Ah, based on the use case I assumed this was under the monitored entities API. That is the API I used this in and would recommend for what you are looking for:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-entities-list" target="_blank"&gt;https://www.dynatrace.com/support/help/dynatrace-api/environment-api/entity-v2/get-entities-list&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 17:45:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/V2-API-What-is-the-best-and-fastest-way-to-see-if-a-certain/m-p/184510#M1826</guid>
      <dc:creator>JamesKitson</dc:creator>
      <dc:date>2022-04-11T17:45:12Z</dc:date>
    </item>
  </channel>
</rss>

