<?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 Davis app trying to filter on weekdays only in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Davis-app-trying-to-filter-on-weekdays-only/m-p/271386#M5466</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to filter on weekdays within anomaly detection?&lt;/P&gt;&lt;P&gt;Or is the a DQL weekday filter for timeseries?&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
    <pubDate>Sun, 02 Mar 2025 13:47:32 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2025-03-02T13:47:32Z</dc:date>
    <item>
      <title>Davis app trying to filter on weekdays only</title>
      <link>https://community.dynatrace.com/t5/Alerting/Davis-app-trying-to-filter-on-weekdays-only/m-p/271386#M5466</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to filter on weekdays within anomaly detection?&lt;/P&gt;&lt;P&gt;Or is the a DQL weekday filter for timeseries?&amp;nbsp;&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 13:47:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Davis-app-trying-to-filter-on-weekdays-only/m-p/271386#M5466</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-03-02T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Davis app trying to filter on weekdays only</title>
      <link>https://community.dynatrace.com/t5/Alerting/Davis-app-trying-to-filter-on-weekdays-only/m-p/272329#M5496</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11427"&gt;@henk_stobbe&lt;/a&gt;&amp;nbsp;There is a&amp;nbsp;getDayOfWeek function available in DQL that can be used with timeseries , but could not really get that working in anomaly detector ....may be its not the right one to be used with AD&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/time-functions#getDayOfWeek" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/time-functions#getDayOfWeek&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a query in a very crude form in case you want to try and experiment&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries {CPU_Util=avg(dt.host.cpu.usage),e=end()},  by: {dt.entity.host},interval:1h
| fieldsAdd CPU_Util_WD = if( getDayOfWeek(e[])&amp;gt;=1 and getDayOfWeek(e[])&amp;lt;=5, CPU_Util[] )
| fieldsRemove CPU_Util&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="p_devulapalli_0-1741841882573.png" style="width: 816px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26924i286915F99303870B/image-dimensions/816x406?v=v2" width="816" height="406" role="button" title="p_devulapalli_0-1741841882573.png" alt="p_devulapalli_0-1741841882573.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 05:00:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Davis-app-trying-to-filter-on-weekdays-only/m-p/272329#M5496</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-03-13T05:00:24Z</dc:date>
    </item>
  </channel>
</rss>

