<?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: Multi-hosted Service Request Counts in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281279#M2286</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10479"&gt;@sia_h&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this! Will simulate this first on my end and see if it matches our requirements.&lt;BR /&gt;&lt;BR /&gt;Hopefully this is what they are looking for&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Charles Perez&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 08:57:21 GMT</pubDate>
    <dc:creator>CharlesPerez</dc:creator>
    <dc:date>2025-07-10T08:57:21Z</dc:date>
    <item>
      <title>Service request counts per host server</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281087#M2277</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I would like to know if it is possible to split the service request counts of a multi-hosted service, per host server.&lt;/P&gt;
&lt;P&gt;For example: AppServer 1, AppServer 2, AppServer 3, AppServer4, with Service1 running on all four servers&lt;BR /&gt;I want to create a table that will look like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;Host&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Service&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Request Count&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;AppServer 1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Service1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;56k&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;AppServer 2&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Service1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;54k&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;AppServer 3&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Service1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;81k&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;AppServer 4&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;Service1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;59k&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you know a DQL to get this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 11:07:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281087#M2277</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-11T11:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281142#M2278</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can see that information already seeing requests:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntonPineiro_0-1752055290691.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28902i5B3B85098102C750/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntonPineiro_0-1752055290691.png" alt="AntonPineiro_0-1752055290691.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can see information per instance.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 10:01:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281142#M2278</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-09T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281158#M2279</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/72255"&gt;@CharlesPerez&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to create a tag within each server’s process. Based on that tag, it should then be possible to divide individual services. This way, you can also create the following table.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 12:23:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281158#M2279</guid>
      <dc:creator>lubrman</dc:creator>
      <dc:date>2025-07-09T12:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281214#M2280</link>
      <description>&lt;P&gt;I think perhaps Charles is asking&amp;nbsp; is it possible to do it via DQL&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 01:02:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281214#M2280</guid>
      <dc:creator>waikeat_chan</dc:creator>
      <dc:date>2025-07-10T01:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281216#M2281</link>
      <description>&lt;P&gt;Hi AntonPineiro,&lt;/P&gt;&lt;P&gt;Yes, we already saw this. But client requires to see the distribution of request count per host machine.&lt;/P&gt;&lt;P&gt;I can do this with processes, but client wants to do it with Services.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharlesPerez_0-1752109636183.png" style="width: 651px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28923i6071A30F7723954B/image-dimensions/651x329?v=v2" width="651" height="329" role="button" title="CharlesPerez_0-1752109636183.png" alt="CharlesPerez_0-1752109636183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Charles&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 01:07:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281216#M2281</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-10T01:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281217#M2282</link>
      <description>&lt;P&gt;That is correct sir. Apologies, I was not able to mention it on my earlier inquiry.&lt;/P&gt;&lt;P&gt;Thank you for pointing that out&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Charles&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 01:17:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281217#M2282</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-10T01:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281220#M2283</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.process_group_instance
| fieldsAdd service.id = runs [dt.entity.service], process.name = entity.name, belongs_to
| fieldsAdd dt.entity.host = belongs_to[dt.entity.host]
| fieldsAdd dt.entity.host.name = entityAttr(dt.entity.host, "entity.name")
| expand service.id
| lookup [
timeseries sum(dt.service.request.count),
by:{
dt.entity.service, 
dt.entity.process_group 
}
], sourceField:service.id, lookupField:dt.entity.service, prefix: "metric."
&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 10 Jul 2025 04:09:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281220#M2283</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2025-07-10T04:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281275#M2284</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10479"&gt;@sia_h&lt;/a&gt;&amp;nbsp;has already pointing you to a solution.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 08:43:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281275#M2284</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-10T08:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281276#M2285</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have just added DQL reference in message, and move it to DQL forum.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 08:46:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281276#M2285</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2025-07-10T08:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281279#M2286</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10479"&gt;@sia_h&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for this! Will simulate this first on my end and see if it matches our requirements.&lt;BR /&gt;&lt;BR /&gt;Hopefully this is what they are looking for&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Charles Perez&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 08:57:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281279#M2286</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-10T08:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281281#M2287</link>
      <description>&lt;P&gt;Thank you for the assistance Sir&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 09:00:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281281#M2287</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-10T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281343#M2293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10479"&gt;@sia_h&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I tried to simplify the table, but the service seems to appear Null.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharlesPerez_1-1752200948944.png" style="width: 713px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28969iA3E6A3B33C9ACE7F/image-dimensions/713x171?v=v2" width="713" height="171" role="button" title="CharlesPerez_1-1752200948944.png" alt="CharlesPerez_1-1752200948944.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only the host name and process name have data.&amp;nbsp; Would like to seek help on how I can fix this. Thank you!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Charles Perez&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 02:30:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281343#M2293</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-11T02:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281346#M2295</link>
      <description>&lt;P&gt;You could add&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| filter isNotNull(service.id)&lt;/LI-CODE&gt;&lt;P&gt;to the end of the query. Processes with a null Service Name either have no services, or had no services in the timeframe you're looking in.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 03:33:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281346#M2295</guid>
      <dc:creator>sia_h</dc:creator>
      <dc:date>2025-07-11T03:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281347#M2296</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have resolved the Query. Thank you&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/10479"&gt;@sia_h&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/36245"&gt;@waikeat_chan&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/73905"&gt;@lubrman&lt;/a&gt;&amp;nbsp; for the assistance.&lt;/P&gt;&lt;P&gt;Pasting here the final DQL that I have used, and the result from the Demo Environment.&lt;/P&gt;&lt;P&gt;Hope this helps other engineers! &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DQL:&lt;/P&gt;&lt;P&gt;timeseries by:{dt.entity.service}, request_count = sum(dt.service.request.count)&lt;BR /&gt;| summarize by:{dt.entity.service}, `Request Count` = sum(arraySum(request_count))&lt;BR /&gt;| fieldsAdd `Service Name` = entityAttr(dt.entity.service, "entity.name")&lt;BR /&gt;| lookUp&lt;BR /&gt;[&lt;BR /&gt;fetch dt.entity.service&lt;BR /&gt;| expand dt.entity.host=runs_on[dt.entity.host]&lt;BR /&gt;| fieldsAdd dt.entity.host.name = entityAttr(dt.entity.host, "entity.name")&lt;BR /&gt;], lookupField:id, sourceField:dt.entity.service&lt;BR /&gt;| fieldsRename `Host Name` = lookup.dt.entity.host.name&lt;BR /&gt;| filter isNotNull(`Host Name`)&lt;BR /&gt;| fields `Host Name`, `Service Name`, `Request Count`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CharlesPerez_0-1752205858109.png" style="width: 667px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28971iF6168ACAE5D87692/image-dimensions/667x310?v=v2" width="667" height="310" role="button" title="CharlesPerez_0-1752205858109.png" alt="CharlesPerez_0-1752205858109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Charles Perez&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 03:51:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/281347#M2296</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-07-11T03:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/284786#M2511</link>
      <description>&lt;P&gt;looking for something similar but need to aggregate or sum up all the requests count for each host (disregarding service name, not needed), so that the table would just have a single count value per server&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2025 14:27:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/284786#M2511</guid>
      <dc:creator>imrj99</dc:creator>
      <dc:date>2025-08-26T14:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-hosted Service Request Counts</title>
      <link>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/289141#M2734</link>
      <description>&lt;P&gt;Hi imrj99,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try the following:&lt;/P&gt;&lt;P&gt;fetch spans&lt;BR /&gt;| summarize by: {host.name}, count()&lt;BR /&gt;&lt;BR /&gt;This will summarize all spans or traces per host and will show the total count of requests based on the duration you have selected. Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 03:26:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Service-request-counts-per-host-server/m-p/289141#M2734</guid>
      <dc:creator>CharlesPerez</dc:creator>
      <dc:date>2025-11-06T03:26:34Z</dc:date>
    </item>
  </channel>
</rss>

