<?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 TimeSeries in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258111#M1294</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a timeseries DQL for a dashboard and I have got so far and I'm now stuck.&amp;nbsp; It produces a line chart for me, but I need the CountofRecords to be one value per 30 min interval (see attached image).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timeseries interval:30m, Requests = sum(log.application),by: {event.original, application}&lt;BR /&gt;| parse event.original, """LD '@mt":' LD:mt ',' """&lt;BR /&gt;| filter matchesPhrase(application, "API")&lt;BR /&gt;| filter matchesPhrase(mt, "Get request received")&lt;BR /&gt;| fieldsAdd CountofRecords=arraymovingSum(Requests, 30)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 08:13:49 GMT</pubDate>
    <dc:creator>Gib80</dc:creator>
    <dc:date>2024-10-04T08:13:49Z</dc:date>
    <item>
      <title>DQL TimeSeries</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258111#M1294</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have created a timeseries DQL for a dashboard and I have got so far and I'm now stuck.&amp;nbsp; It produces a line chart for me, but I need the CountofRecords to be one value per 30 min interval (see attached image).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;timeseries interval:30m, Requests = sum(log.application),by: {event.original, application}&lt;BR /&gt;| parse event.original, """LD '@mt":' LD:mt ',' """&lt;BR /&gt;| filter matchesPhrase(application, "API")&lt;BR /&gt;| filter matchesPhrase(mt, "Get request received")&lt;BR /&gt;| fieldsAdd CountofRecords=arraymovingSum(Requests, 30)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 08:13:49 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258111#M1294</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2024-10-04T08:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: DQL TimeSeries</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258112#M1295</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;&lt;/P&gt;
&lt;P&gt;How about this query:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;timeseries interval:30m, Requests = sum(log.application),by: {event.original, application}, filter: matchesPhrase(application, "API")
| parse event.original, """LD '@mt":' LD:mt ',' """
| filter matchesPhrase(mt, "Get request received")
| summarize 
    CountofRecords = sum(Requests[])
    interval = takeAny(interval),
    timeframe = takeAny(timeframe)
| fieldsAdd CountofRecordsMoving=arraymovingSum(CountofRecords, 30)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure why you are using the arrayMovingSum function&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 08:24:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258112#M1295</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2024-10-04T08:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: DQL TimeSeries</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258118#M1296</link>
      <description>&lt;P&gt;Perfect, that worked brilliantly! Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 08:35:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-TimeSeries/m-p/258118#M1296</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2024-10-04T08:35:05Z</dc:date>
    </item>
  </channel>
</rss>

