<?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 Combine Multiple Fetches in Dynatrace Query Language (DQL) in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/226623#M314</link>
    <description>&lt;P&gt;&lt;EM&gt;Summary:&amp;nbsp;This article explains how to combine multiple fetch operations in a single DQL query. It includes syntax examples and best practices for optimising queries in Dynatrace dashboards.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the syntax to create a union of two fetch statmenents, bascially wanted a result of both fetch queires in a single statement&lt;/P&gt;
&lt;P&gt;fetch `dt.entity.palo-alto:device`&lt;BR /&gt;| fieldsAdd SystemName,deviceAddress,entity.type&lt;BR /&gt;| fieldsRename ipaddress=deviceAddress,devicename=SystemName,type=entity.type&lt;/P&gt;
&lt;P&gt;&amp;nbsp;fetch `dt.entity.snmp:com_dynatrace_extension_snmp_generic_cisco_device`&lt;BR /&gt;| fieldsAdd system_name,dt.ip_addresses,entity.type&lt;BR /&gt;| fieldsRename ipaddress=dt.ip_addresses,devicename=system_name,type=entity.type&lt;/P&gt;
&lt;P&gt;Appreciate your response.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Rama&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jan 2026 11:00:34 GMT</pubDate>
    <dc:creator>rchillara</dc:creator>
    <dc:date>2026-01-21T11:00:34Z</dc:date>
    <item>
      <title>Combine Multiple Fetches in Dynatrace Query Language (DQL)</title>
      <link>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/226623#M314</link>
      <description>&lt;P&gt;&lt;EM&gt;Summary:&amp;nbsp;This article explains how to combine multiple fetch operations in a single DQL query. It includes syntax examples and best practices for optimising queries in Dynatrace dashboards.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the syntax to create a union of two fetch statmenents, bascially wanted a result of both fetch queires in a single statement&lt;/P&gt;
&lt;P&gt;fetch `dt.entity.palo-alto:device`&lt;BR /&gt;| fieldsAdd SystemName,deviceAddress,entity.type&lt;BR /&gt;| fieldsRename ipaddress=deviceAddress,devicename=SystemName,type=entity.type&lt;/P&gt;
&lt;P&gt;&amp;nbsp;fetch `dt.entity.snmp:com_dynatrace_extension_snmp_generic_cisco_device`&lt;BR /&gt;| fieldsAdd system_name,dt.ip_addresses,entity.type&lt;BR /&gt;| fieldsRename ipaddress=dt.ip_addresses,devicename=system_name,type=entity.type&lt;/P&gt;
&lt;P&gt;Appreciate your response.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Rama&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jan 2026 11:00:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/226623#M314</guid>
      <dc:creator>rchillara</dc:creator>
      <dc:date>2026-01-21T11:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query to combine multiple fetches</title>
      <link>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/226819#M315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/63956"&gt;@rchillara&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;the DQL equivalent for SQL union is the&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/dql-commands#append" target="_self"&gt;append command&lt;/A&gt;. The following query should work:&lt;/P&gt;
&lt;PRE&gt;fetch `dt.entity.palo-alto:device`&lt;BR /&gt;| fieldsAdd SystemName,deviceAddress,entity.type&lt;BR /&gt;| fieldsRename ipaddress=deviceAddress,devicename=SystemName,type=entity.type&lt;BR /&gt;| append [&lt;BR /&gt;&amp;nbsp;  fetch `dt.entity.snmp:com_dynatrace_extension_snmp_generic_cisco_device`&lt;BR /&gt;  | fieldsAdd system_name,dt.ip_addresses,entity.type&lt;BR /&gt;  | fieldsRename ipaddress=dt.ip_addresses,devicename=system_name,type=entity.type&lt;BR /&gt;]&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 07:00:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/226819#M315</guid>
      <dc:creator>stefan_eggersto</dc:creator>
      <dc:date>2023-10-27T07:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query to combine multiple fetches</title>
      <link>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/230009#M375</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/9516"&gt;@stefan_eggersto&lt;/a&gt;&amp;nbsp;thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 14:13:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Combine-Multiple-Fetches-in-Dynatrace-Query-Language-DQL/m-p/230009#M375</guid>
      <dc:creator>rchillara</dc:creator>
      <dc:date>2023-11-27T14:13:22Z</dc:date>
    </item>
  </channel>
</rss>

