<?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 Query: Filtering Logs by Time Range Across Multiple Days in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/276240#M2019</link>
    <description>&lt;P&gt;Hi&amp;nbsp;krzysztof_hoja&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you know any filter for timeseries?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;</description>
    <pubDate>Wed, 30 Apr 2025 02:36:38 GMT</pubDate>
    <dc:creator>walterdelgado</dc:creator>
    <dc:date>2025-04-30T02:36:38Z</dc:date>
    <item>
      <title>DQL Query: Filtering Logs by Time Range Across Multiple Days</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/237225#M645</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Hi everyone, I’m trying to write a DQL query that filters the fetch logs by a specific time range across multiple days. For example, I want to retrieve only the logs from 22:00 to 07:00 for each day in a week, without having to change the query manually for each day. The documentation on the DT website shows how to use the timeframe parameter - fetch logs, timeframe:"2021-10-20T00:00:00Z/2021-10-28T12:00:00Z", but it returns all the logs between the start and end dates, not the ones that match the time range I need per day. Is it possible to achieve this?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 11:31:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/237225#M645</guid>
      <dc:creator>JerryJ</dc:creator>
      <dc:date>2024-02-15T11:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: DQL Query: Filtering Logs by Time Range Across Multiple Days</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/237285#M646</link>
      <description>&lt;P&gt;you can utilize getHour() function. e.g.:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;fetch logs, samplingRatio:1000
| filter getHour(timestamp)&amp;lt;7 or getHour(timestamp)&amp;gt;=22
| summarize {count()}, by: { bin(timestamp,10m)}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="krzysztof_hoja_0-1708020455588.png" style="width: 716px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/17640iDF243415968D5925/image-dimensions/716x358?v=v2" width="716" height="358" role="button" title="krzysztof_hoja_0-1708020455588.png" alt="krzysztof_hoja_0-1708020455588.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 18:09:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/237285#M646</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-02-15T18:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: DQL Query: Filtering Logs by Time Range Across Multiple Days</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/276240#M2019</link>
      <description>&lt;P&gt;Hi&amp;nbsp;krzysztof_hoja&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you know any filter for timeseries?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 02:36:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Query-Filtering-Logs-by-Time-Range-Across-Multiple-Days/m-p/276240#M2019</guid>
      <dc:creator>walterdelgado</dc:creator>
      <dc:date>2025-04-30T02:36:38Z</dc:date>
    </item>
  </channel>
</rss>

