<?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: timeseries result by tag in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/279358#M2199</link>
    <description>&lt;P&gt;This Condition works onthe&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;dashboard, provided by extensions&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jun 2025 11:27:50 GMT</pubDate>
    <dc:creator>Manish_Kumar</dc:creator>
    <dc:date>2025-06-13T11:27:50Z</dc:date>
    <item>
      <title>timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212399#M102</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;Using DQL how to retrieve timeseries cpu for hosts by tag and then get the max of those hosts.&lt;/P&gt;
&lt;P&gt;My syntax isn't correct.&lt;/P&gt;
&lt;PRE&gt;timeseries memory=avg(dt.host.cpu.usage),by:{dt.entity.host}, interval:1h&lt;BR /&gt;| lookup [fetch dt.entity.host fieldsAdd tags,&lt;BR /&gt;],sourceField:dt.entity.host, lookupField:id&lt;BR /&gt;| filter matchesValue(tags,"TG.ProcessGroup.DetectedName:Oracle Listeners")&lt;BR /&gt;| summarize MaxMem = avg(arrayMax(memory))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to use the final result as an objective in the site reliability guardian.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 06:57:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212399#M102</guid>
      <dc:creator>Stephen1_Lee</dc:creator>
      <dc:date>2023-05-17T06:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212405#M103</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;timeseries memory=avg(dt.host.cpu.usage),by:{dt.entity.host}, interval:1h&lt;BR /&gt;| lookup [fetch dt.entity.host&lt;BR /&gt;| fieldsAdd tags],lookupField:id , sourceField:dt.entity.host&lt;BR /&gt;| filter matchesValue(lookup.tags,"TG.ProcessGroup.DetectedName:Oracle Listeners")&lt;BR /&gt;| summarize MaxMem = avg(arrayMax(memory))&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and let us know&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 06:57:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212405#M103</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-05-17T06:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212494#M104</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this error.&amp;nbsp; Note: when I query the dt.entity.hosts alone with the tag value it gives me back 61 records so I assume I have 61 hosts with this tag value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"message": "LOOKUP_TABLE_SIZE",&lt;BR /&gt;"details": {&lt;BR /&gt;"exceptionType": "DQL-EXEC-EXECUTION",&lt;BR /&gt;"errorType": "LOOKUP_TABLE_SIZE",&lt;BR /&gt;"errorMessage": "The lookup command's subquery read too much data. Please continue to filter the lookup table or narrow the query time range.",&lt;BR /&gt;"arguments": [],&lt;BR /&gt;"queryString": "timeseries memory=avg(dt.host.cpu.usage),by:{dt.entity.host}, interval:1h\n| lookup [fetch dt.entity.host\n| fieldsAdd tags],lookupField:id , sourceField:dt.entity.host\n| filter matchesValue(lookup.tags,\"TG.App.DynamicAppName:app_pddf\")\n| summarize MaxMem = avg(arrayMax(memory))",&lt;BR /&gt;"errorMessageFormatSpecifierTypes": [&lt;BR /&gt;"GENERAL_MESSAGE"&lt;BR /&gt;],&lt;BR /&gt;"errorMessageFormat": "The lookup command's subquery read too much data. Please continue to filter the lookup table or narrow the query time range."&lt;BR /&gt;},&lt;BR /&gt;"code": 500&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:30:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212494#M104</guid>
      <dc:creator>Stephen1_Lee</dc:creator>
      <dc:date>2023-05-17T14:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212507#M105</link>
      <description>&lt;P&gt;Try to add another filter to the lookup and see if the data is present... if is there a real limit, let's wait for someone from Dynatrace to explain what it is, since I seen nothing in docs.&lt;/P&gt;&lt;P&gt;edit, only limit I am seeing is this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the time interval would have exceeded the limit of elements per series (10,080).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 16:43:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212507#M105</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-05-17T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212731#M106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/24856"&gt;@Stephen1_Lee&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;to avoid&amp;nbsp;&lt;SPAN&gt;&lt;CODE&gt;The lookup command's subquery read too much data. Please continue to filter the lookup table or narrow the query time range&lt;/CODE&gt;, you can do following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;move the filter for tags into the lookup query and in the main query, filter for hosts matching the lookup query (&lt;CODE&gt;filter isNotNull(lookup.id)&lt;/CODE&gt;)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;remove the &lt;CODE&gt;fieldsAdd tags&lt;/CODE&gt;, since you dont need the tags as a result, only for filtering&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;timeseries memory = avg(dt.host.cpu.usage), by:{dt.entity.host}, interval:1h&lt;BR /&gt;| lookup [&lt;BR /&gt;  fetch dt.entity.host &lt;BR /&gt;  | filter matchesValue(tags, "TG.ProcessGroup.DetectedName:Oracle Listeners")&lt;BR /&gt;], lookupField:id, sourceField:dt.entity.host&lt;BR /&gt;| filter isNotNull(lookup.id)&lt;BR /&gt;| summarize MaxMem = avg(arrayMax(memory))&lt;/PRE&gt;
&lt;P&gt;Please give it a try and let me know if this query works!&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 04:18:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/212731#M106</guid>
      <dc:creator>stefan_eggersto</dc:creator>
      <dc:date>2023-05-22T04:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/213093#M107</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Yes this worked.&amp;nbsp; Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 00:39:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/213093#M107</guid>
      <dc:creator>Stephen1_Lee</dc:creator>
      <dc:date>2023-05-25T00:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: timeseries result by tag</title>
      <link>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/279358#M2199</link>
      <description>&lt;P&gt;This Condition works onthe&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;dashboard, provided by extensions&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 11:27:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/timeseries-result-by-tag/m-p/279358#M2199</guid>
      <dc:creator>Manish_Kumar</dc:creator>
      <dc:date>2025-06-13T11:27:50Z</dc:date>
    </item>
  </channel>
</rss>

