<?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: DQL makeTimeSeries Table in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244944#M852</link>
    <description>&lt;P&gt;If it is enough to display in a table only intervals where there is data and skip intervals where there were not matching log lines, using &lt;STRONG&gt;&lt;EM&gt;summarize&lt;/EM&gt; &lt;/STRONG&gt;instead of &lt;EM&gt;&lt;STRONG&gt;makeTimeseries&lt;/STRONG&gt; &lt;/EM&gt;will do the job:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| summarize {count=count()}, by: {timestamp=bin(timestamp, 10m)}&lt;/LI-CODE&gt;&lt;P&gt;Example result on my data looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1715017912142.png" style="width: 639px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19687iF2EBDF7209F2A200/image-dimensions/639x294?v=v2" width="639" height="294" role="button" title="krzysztof_hoja_0-1715017912142.png" alt="krzysztof_hoja_0-1715017912142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you need all timestamps also these without matching records which you see as empty element in array, it is possible right only via some trick described here:&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/DQL/Add-the-interval-time-to-a-timeseries-array/m-p/233181/highlight/true#M490" target="_blank"&gt;https://community.dynatrace.com/t5/DQL/Add-the-interval-time-to-a-timeseries-array/m-p/233181/highlight/true#M490&lt;/A&gt;&lt;BR /&gt;But we are already working on easy way of proper expanding timeseries produced by &lt;EM&gt;&lt;STRONG&gt;timeseries&lt;/STRONG&gt; &lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;makeTimeseries&lt;/STRONG&gt; &lt;/EM&gt;commands without loosing context of time for each element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2024 17:57:31 GMT</pubDate>
    <dc:creator>krzysztof_hoja</dc:creator>
    <dc:date>2024-05-06T17:57:31Z</dc:date>
    <item>
      <title>DQL makeTimeSeries Table</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244800#M850</link>
      <description>&lt;P&gt;I have this code using makeTimeseries, but I want each count value to be displayed in a different row so I can display it as a table or as a bar chart and not in an array in a single row.&lt;/P&gt;
&lt;P&gt;fetch logs&lt;BR /&gt;| filter matchesPhrase(content, "is suspected as having")&lt;BR /&gt;| parse content, """DATA "Cluster member " DATA STRING:Server """&lt;BR /&gt;| makeTimeseries count=count(), by:{interval:10m}&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="angelriosST_0-1714765967990.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19648i8C0C89DDD1524BBA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="angelriosST_0-1714765967990.png" alt="angelriosST_0-1714765967990.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 12:49:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244800#M850</guid>
      <dc:creator>angelriosST</dc:creator>
      <dc:date>2024-05-07T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: DQL makeTimeSeries Table</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244944#M852</link>
      <description>&lt;P&gt;If it is enough to display in a table only intervals where there is data and skip intervals where there were not matching log lines, using &lt;STRONG&gt;&lt;EM&gt;summarize&lt;/EM&gt; &lt;/STRONG&gt;instead of &lt;EM&gt;&lt;STRONG&gt;makeTimeseries&lt;/STRONG&gt; &lt;/EM&gt;will do the job:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| summarize {count=count()}, by: {timestamp=bin(timestamp, 10m)}&lt;/LI-CODE&gt;&lt;P&gt;Example result on my data looks like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1715017912142.png" style="width: 639px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19687iF2EBDF7209F2A200/image-dimensions/639x294?v=v2" width="639" height="294" role="button" title="krzysztof_hoja_0-1715017912142.png" alt="krzysztof_hoja_0-1715017912142.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you need all timestamps also these without matching records which you see as empty element in array, it is possible right only via some trick described here:&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/DQL/Add-the-interval-time-to-a-timeseries-array/m-p/233181/highlight/true#M490" target="_blank"&gt;https://community.dynatrace.com/t5/DQL/Add-the-interval-time-to-a-timeseries-array/m-p/233181/highlight/true#M490&lt;/A&gt;&lt;BR /&gt;But we are already working on easy way of proper expanding timeseries produced by &lt;EM&gt;&lt;STRONG&gt;timeseries&lt;/STRONG&gt; &lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;makeTimeseries&lt;/STRONG&gt; &lt;/EM&gt;commands without loosing context of time for each element&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 17:57:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244944#M852</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-05-06T17:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: DQL makeTimeSeries Table</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244945#M853</link>
      <description>&lt;P&gt;Thank you very much for your help&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 18:23:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-makeTimeSeries-Table/m-p/244945#M853</guid>
      <dc:creator>angelriosST</dc:creator>
      <dc:date>2024-05-06T18:23:04Z</dc:date>
    </item>
  </channel>
</rss>

