<?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 - Need to split network i/o process metrics for azure VMs in a dt.entity.process_group in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/265101#M1530</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a DQL query for a dashboard that can output process network I/O metrics (dt.process.network.bytes_rx and&amp;nbsp;dt.process.network.bytes_tx) for two pairs of Azure virtual machines (with OneAgent installed) that run the same service (named) in the same network. Dynatrace has automatically created a process group for named which contains all four virtual machines, however I only want to query two virtual machines from the process group. I don't want to query using the hosts name because dynatrace has created a unique name that will be updated regularly but instead I want to use the Azure resource name (azure.vm.name). Can this be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;VM names:&lt;/P&gt;&lt;P&gt;Pair one: npd-uk-pri00-abc(abc is changed regularly to a random string)&lt;/P&gt;&lt;P&gt;Pair two:&amp;nbsp;npd-uk-sec00-abc(abc is changed regularly to a random string)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Dec 2024 12:04:08 GMT</pubDate>
    <dc:creator>jstead</dc:creator>
    <dc:date>2024-12-12T12:04:08Z</dc:date>
    <item>
      <title>DQL - Need to split network i/o process metrics for azure VMs in a dt.entity.process_group</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/265101#M1530</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a DQL query for a dashboard that can output process network I/O metrics (dt.process.network.bytes_rx and&amp;nbsp;dt.process.network.bytes_tx) for two pairs of Azure virtual machines (with OneAgent installed) that run the same service (named) in the same network. Dynatrace has automatically created a process group for named which contains all four virtual machines, however I only want to query two virtual machines from the process group. I don't want to query using the hosts name because dynatrace has created a unique name that will be updated regularly but instead I want to use the Azure resource name (azure.vm.name). Can this be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;VM names:&lt;/P&gt;&lt;P&gt;Pair one: npd-uk-pri00-abc(abc is changed regularly to a random string)&lt;/P&gt;&lt;P&gt;Pair two:&amp;nbsp;npd-uk-sec00-abc(abc is changed regularly to a random string)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 12:04:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/265101#M1530</guid>
      <dc:creator>jstead</dc:creator>
      <dc:date>2024-12-12T12:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: DQL - Need to split network i/o process metrics for azure VMs in a dt.entity.process_group</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/265408#M1541</link>
      <description>&lt;P&gt;To achieve this you need to have your metrics also by host and then using entity model relationships connect host to Azure VMs.&lt;/P&gt;&lt;P&gt;Example of such query:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {rx=sum(dt.process.network.bytes_rx), tx=sum(dt.process.network.bytes_tx)}, 
  by: {dt.entity.host, dt.entity.process_group},
  filter: dt.entity.process_group=="PROCESS_GROUP-0EA1068B7FD50946"
| fieldsAdd entityAttr(dt.entity.host,"runs_on")
| fieldsAdd dt.entity.azure_vm=dt.entity.host.runs_on[dt.entity.azure_vm]
| fieldsAdd entityName(dt.entity.azure_vm)&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;get metrics by process group and host for chosen PG&lt;/LI&gt;&lt;LI&gt;search for related VMs using runs_on[dt.entity.azure_vm] relationship&lt;/LI&gt;&lt;LI&gt;get name for each VM&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Result looks like this on my environment:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1734380494405.png" style="width: 852px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25260iBB38734C8FAE9E8A/image-dimensions/852x347?v=v2" width="852" height="347" role="button" title="krzysztof_hoja_0-1734380494405.png" alt="krzysztof_hoja_0-1734380494405.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2024 20:21:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/265408#M1541</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-12-16T20:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: DQL - Need to split network i/o process metrics for azure VMs in a dt.entity.process_group</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/268481#M1642</link>
      <description>&lt;P&gt;Really useful&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/25373"&gt;@krzysztof_hoja&lt;/a&gt;,&amp;nbsp;this helped sort the issue. Thanks very much.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 16:11:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Need-to-split-network-i-o-process-metrics-for-azure-VMs-in-a/m-p/268481#M1642</guid>
      <dc:creator>jstead</dc:creator>
      <dc:date>2025-01-27T16:11:59Z</dc:date>
    </item>
  </channel>
</rss>

