<?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 query in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/258537#M1310</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the below dql query for a dashboard and I need to group the average milliseconds by watchlist per 30 seconds.&amp;nbsp; I'm not sure where I am going wrong, any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timeseries aml=avg(log.application),by: {elapsedmilliseconds, event.original}, interval:1m, filter: matchesPhrase(application, "Screen")&lt;/P&gt;&lt;P&gt;| parse event.original, """LD '@mt":' LD:mt ',' """&lt;BR /&gt;| parse event.original, """LD 'watchlist":' LD:Watchlist ',' """&lt;BR /&gt;| filter isNotNull(elapsedmilliseconds)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| fieldsAdd CountofRecords=arraymovingAvg(elapsedmilliseconds, 30)&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 08:40:10 GMT</pubDate>
    <dc:creator>Gib80</dc:creator>
    <dc:date>2024-10-08T08:40:10Z</dc:date>
    <item>
      <title>DQL query</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/258537#M1310</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the below dql query for a dashboard and I need to group the average milliseconds by watchlist per 30 seconds.&amp;nbsp; I'm not sure where I am going wrong, any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timeseries aml=avg(log.application),by: {elapsedmilliseconds, event.original}, interval:1m, filter: matchesPhrase(application, "Screen")&lt;/P&gt;&lt;P&gt;| parse event.original, """LD '@mt":' LD:mt ',' """&lt;BR /&gt;| parse event.original, """LD 'watchlist":' LD:Watchlist ',' """&lt;BR /&gt;| filter isNotNull(elapsedmilliseconds)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;| fieldsAdd CountofRecords=arraymovingAvg(elapsedmilliseconds, 30)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 08:40:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/258537#M1310</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2024-10-08T08:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/259043#M1329</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76420"&gt;@Gib80&lt;/a&gt;&amp;nbsp;, I think you need to adjust the&amp;nbsp;interval here.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries aml=avg(log.application),by: {elapsedmilliseconds, event.original}, interval:30, filter: matchesPhrase(application, "Screen")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 21:46:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/259043#M1329</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2024-10-13T21:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: DQL query</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/259049#M1330</link>
      <description>&lt;P&gt;Hey Gib,&lt;/P&gt;&lt;P&gt;If I understand what you're looking for correctly I don't believe this would currently be possible with a timeseries as they have a minimum interval of 1m as mentioned here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/metrics-limits#upgrading-to-grail" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/metrics-limits#upgrading-to-grail&lt;/A&gt;. You can change the interval to be smaller but I don't believe that it would make a difference as they are stored with the 1m granularity.&lt;/P&gt;&lt;P&gt;If you were to query logs directly and then used the maketimeseries command you would be able to achieve smaller intervals as seen below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1728860042315.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23581i0E6C36AA0DF024D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fin_Ubels_0-1728860042315.png" alt="Fin_Ubels_0-1728860042315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 23:04:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-query/m-p/259049#M1330</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-13T23:04:23Z</dc:date>
    </item>
  </channel>
</rss>

