<?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: Metric for incoming traffic by calling host or process in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Metric-for-incoming-traffic-by-calling-host-or-process/m-p/224718#M28841</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11940"&gt;@Bert_VanderHeyd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you can use a more specific entitySelector in your metric query to get the calling PGIs of the PGI (for my example&amp;nbsp;&lt;FONT face="courier new,courier"&gt;PROCESS_GROUP_INSTANCE-19A05BD896B3AD67)&lt;/FONT&gt;&amp;nbsp;you want to check e.g.:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;type(process_group_instance),fromRelationships.isNetworkClientOf(entityId(PROCESS_GROUP_INSTANCE-19A05BD896B3AD67))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The :parents suffix will as well give you the host where the calling PGIs come form.&lt;/P&gt;&lt;P&gt;So your complete query could look like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:tech.generic.network.traffic.trafficIn:filter(and(or(in(
"dt.entity.process_group_instance",
entitySelector("type(process_group_instance),fromRelationships.isNetworkClientOf(entityId(PROCESS_GROUP_INSTANCE-19A05BD896B3AD67))")
)))):splitBy("dt.entity.process_group_instance"):sort(value(auto,descending)):limit(20):parents&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 08:19:38 GMT</pubDate>
    <dc:creator>mark_bley</dc:creator>
    <dc:date>2023-10-06T08:19:38Z</dc:date>
    <item>
      <title>Metric for incoming traffic by calling host or process</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Metric-for-incoming-traffic-by-calling-host-or-process/m-p/224670#M28833</link>
      <description>&lt;P&gt;Via "Analyse Process Connections" we can see which host/process is calling our host and what volumes we are talking about. That's great but it's quite deep dive.&lt;/P&gt;&lt;P&gt;For a certain fileserver we want to keep track of the incoming traffic and where it comes from. There are a few metrics for that but none of them have a "calling host" dimension or something like that. See&amp;nbsp;&lt;SPAN&gt;builtin:host.net.nic.trafficIn can be split by host and NIC. But that doesn't tell where the traffic comes from. We know the data is available because we have those details via "Analyse Process Connections".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this feasible? And how? For this particular service we want it on a dashboard. Maybe even create alerts when certain incoming spikes arise.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 15:05:33 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Metric-for-incoming-traffic-by-calling-host-or-process/m-p/224670#M28833</guid>
      <dc:creator>Bert_VanderHeyd</dc:creator>
      <dc:date>2023-10-05T15:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Metric for incoming traffic by calling host or process</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Metric-for-incoming-traffic-by-calling-host-or-process/m-p/224718#M28841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11940"&gt;@Bert_VanderHeyd&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you can use a more specific entitySelector in your metric query to get the calling PGIs of the PGI (for my example&amp;nbsp;&lt;FONT face="courier new,courier"&gt;PROCESS_GROUP_INSTANCE-19A05BD896B3AD67)&lt;/FONT&gt;&amp;nbsp;you want to check e.g.:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;type(process_group_instance),fromRelationships.isNetworkClientOf(entityId(PROCESS_GROUP_INSTANCE-19A05BD896B3AD67))&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The :parents suffix will as well give you the host where the calling PGIs come form.&lt;/P&gt;&lt;P&gt;So your complete query could look like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;builtin:tech.generic.network.traffic.trafficIn:filter(and(or(in(
"dt.entity.process_group_instance",
entitySelector("type(process_group_instance),fromRelationships.isNetworkClientOf(entityId(PROCESS_GROUP_INSTANCE-19A05BD896B3AD67))")
)))):splitBy("dt.entity.process_group_instance"):sort(value(auto,descending)):limit(20):parents&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 08:19:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Metric-for-incoming-traffic-by-calling-host-or-process/m-p/224718#M28841</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2023-10-06T08:19:38Z</dc:date>
    </item>
  </channel>
</rss>

