<?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 DQL to get process group for specific set of hosts in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240321#M739</link>
    <description>&lt;P&gt;I need help to get&amp;nbsp;process group for specific set of hosts using DQL.&lt;/P&gt;&lt;P&gt;Has anyone extracted it successfully?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 16:49:06 GMT</pubDate>
    <dc:creator>AK</dc:creator>
    <dc:date>2024-03-18T16:49:06Z</dc:date>
    <item>
      <title>DQL to get process group for specific set of hosts</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240321#M739</link>
      <description>&lt;P&gt;I need help to get&amp;nbsp;process group for specific set of hosts using DQL.&lt;/P&gt;&lt;P&gt;Has anyone extracted it successfully?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 16:49:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240321#M739</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2024-03-18T16:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to get process group for specific set of hosts</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240332#M741</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It returns all process groups IDs and visual name for host "XXXX":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.host
| filter entity.name == "XXXX"
| expand runs[dt.entity.process_group]
| fieldsAdd process_group.name = lookup(
    [ fetch dt.entity.process_group ], lookupField:id, sourceField:`runs[dt.entity.process_group]`
  )[entity.name]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe a better DQL query can be done.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 18:46:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240332#M741</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-03-18T18:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to get process group for specific set of hosts</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240340#M742</link>
      <description>&lt;P&gt;As single process group can run on multiple hosts, this query may contain duplicates, you can use &lt;EM&gt;&lt;STRONG&gt;dedup&lt;/STRONG&gt;&lt;/EM&gt; command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| dedup `runs[dt.entity.process_group]`, process_group.name&lt;/LI-CODE&gt;&lt;P&gt;to get list of unique process group ids/names and one exemplary host id/name for each of them. Alternatively you can use &lt;EM&gt;&lt;STRONG&gt;summarize&lt;/STRONG&gt; &lt;/EM&gt;to get unique process group ids/names with array of hosts it runs on&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| summarize {ids=collectDistinct(id)}, by: {`runs[dt.entity.process_group]`, process_group.name}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kris&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 20:29:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/240340#M742</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-03-18T20:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to get process group for specific set of hosts</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/270167#M1712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25373"&gt;@krzysztof_hoja&lt;/a&gt;&amp;nbsp;/&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Day!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to fetch the software technologies of the process group. Could you please help me achieve this?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2025 16:21:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/270167#M1712</guid>
      <dc:creator>DineshP</dc:creator>
      <dc:date>2025-02-16T16:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: DQL to get process group for specific set of hosts</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/274133#M1881</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I used this query to successfully get a list of processes that have a specific one agent version installed on them.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;fetch dt.entity.process_group_instance&amp;nbsp;&lt;BR /&gt;| fieldsadd&amp;nbsp;&amp;nbsp; host_id=belongs_to[dt.entity.host]&lt;BR /&gt;|join[fetch dt.entity.host | filter contains(installerVersion, "1.307") | fieldsAdd installerVersion], on:left[host_id] == right[id]&lt;BR /&gt;&lt;BR /&gt;I would think that something like this should give you what you are after:&lt;BR /&gt;&lt;BR /&gt;fetch dt.entity.process_group_instance&amp;nbsp;&lt;BR /&gt;| fieldsadd&amp;nbsp;&amp;nbsp; host_id=belongs_to[dt.entity.host]&lt;BR /&gt;|join[fetch dt.entity.host | filter dt.entity.host in (host1, host2,hoste) ], on:left[host_id] == right[id]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 19:45:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-to-get-process-group-for-specific-set-of-hosts/m-p/274133#M1881</guid>
      <dc:creator>gdalessandro</dc:creator>
      <dc:date>2025-04-01T19:45:08Z</dc:date>
    </item>
  </channel>
</rss>

