<?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 How to filter Requests to public networks by the calling service in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/284995#M2530</link>
    <description>&lt;P&gt;Using the Custom multidimensional analysis for Requests to public networks and filtering by a Request/Endpoint I'm able to view all the outbound requests from our environment.&amp;nbsp; I can create a custom metric from this as well and it works in DQL with no issues.&amp;nbsp; &amp;nbsp;Problem is I can't filter this by the calling service and multiple services call the same public network.&amp;nbsp; How can I filter the calls to a public network by the calling service?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 06:37:55 GMT</pubDate>
    <dc:creator>smitty</dc:creator>
    <dc:date>2025-08-29T06:37:55Z</dc:date>
    <item>
      <title>How to filter Requests to public networks by the calling service</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/284995#M2530</link>
      <description>&lt;P&gt;Using the Custom multidimensional analysis for Requests to public networks and filtering by a Request/Endpoint I'm able to view all the outbound requests from our environment.&amp;nbsp; I can create a custom metric from this as well and it works in DQL with no issues.&amp;nbsp; &amp;nbsp;Problem is I can't filter this by the calling service and multiple services call the same public network.&amp;nbsp; How can I filter the calls to a public network by the calling service?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 06:37:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/284995#M2530</guid>
      <dc:creator>smitty</dc:creator>
      <dc:date>2025-08-29T06:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter Requests to public networks by the calling service</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/285066#M2534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/94962"&gt;@smitty&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new in DQL.&lt;/P&gt;&lt;P&gt;Play this one, it is not correct. This list contains those services which ones initiated a call to&amp;nbsp;Requests to public networks. But the list not filtered, so it includes the initiatior service all handled calls not only the relevant calls to&amp;nbsp; Requests to public networks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;fetch spans, from: -1d, to: now()&lt;/P&gt;&lt;P&gt;| filter isNotNull(endpoint.name)&lt;/P&gt;&lt;P&gt;| lookup [fetch dt.entity.service], sourceField: dt.entity.service, lookupField: id, fields: { caller.name = entity.name}&lt;BR /&gt;| lookup [fetch dt.entity.service | expand caller.id = called_by[dt.entity.service]], sourceField: dt.entity.service, lookupField: caller.id, fields: { called.name = entity.name}&lt;BR /&gt;| filter called.name == "Requests to public networks"&lt;/P&gt;&lt;P&gt;| summarize { count=count()}, by: {caller.name, called.name}&lt;/P&gt;&lt;P&gt;I have received this result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1756545142976.png" style="width: 788px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29895i4D372152A39E5974/image-dimensions/788x300?v=v2" width="788" height="300" role="button" title="Mizs_0-1756545142976.png" alt="Mizs_0-1756545142976.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have created the opposit way also, but this does not work for Request to public networks (becaues its opaque service):&lt;/P&gt;&lt;P&gt;fetch spans, from: -1d, to: now()&lt;/P&gt;&lt;P&gt;| filter isNotNull(endpoint.name)&lt;/P&gt;&lt;P&gt;| lookup [fetch dt.entity.service], sourceField: dt.entity.service, lookupField: id, fields: { called.name = entity.name, id}&lt;BR /&gt;| lookup [fetch dt.entity.service | expand caller.id = calls[dt.entity.service]], sourceField: dt.entity.service, lookupField: caller.id, fields: { caller.name = entity.name}&lt;BR /&gt;| filter caller.name == "your not opaque service name"&lt;/P&gt;&lt;P&gt;| summarize { count=count()}, by: {caller.name, called.name, id}&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_1-1756545940489.png" style="width: 785px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/29896i940441E0FE0606B1/image-dimensions/785x364?v=v2" width="785" height="364" role="button" title="Mizs_1-1756545940489.png" alt="Mizs_1-1756545940489.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I hope you or other community members can modify it and you can use it for your purposes.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;János&lt;/P&gt;</description>
      <pubDate>Sat, 30 Aug 2025 09:26:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/285066#M2534</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2025-08-30T09:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter Requests to public networks by the calling service</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/285719#M2577</link>
      <description>&lt;P&gt;Thanks for the DQL example.&amp;nbsp; I'm new to DQL as well and hindered by the fact we don't have the Platform Subscription license so I'm very limited in what I can do with DQL without it.&amp;nbsp; For example I can't use spans.&lt;BR /&gt;So, for now I'm using a work around and creating a custom metric for every environment and add rules in the Metric to do the filtering by environment and server.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 14:35:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-filter-Requests-to-public-networks-by-the-calling-service/m-p/285719#M2577</guid>
      <dc:creator>smitty</dc:creator>
      <dc:date>2025-09-10T14:35:13Z</dc:date>
    </item>
  </channel>
</rss>

