<?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: Conditional alerting on Anomaly Detector in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299479#M3345</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As you can see in link, DQL output is "1" or "0" base on condition are meet or not.&lt;/P&gt;&lt;P&gt;Later you just create an anomaly detector using that DQL and saying below 1, or above 0.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2026 12:53:34 GMT</pubDate>
    <dc:creator>AntonPineiro</dc:creator>
    <dc:date>2026-05-14T12:53:34Z</dc:date>
    <item>
      <title>Conditional alerting on Anomaly Detector</title>
      <link>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299466#M3342</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have been trying to create the following Anomaly Detector configuration:&lt;/P&gt;&lt;P&gt;evaluate the average&amp;nbsp;dt.host.cpu.usage for a host group and alert if it's above 80%.&lt;/P&gt;&lt;P&gt;The tricky part is that I want to generate a conditional alert based on the value: e.g. 80&amp;lt;cpu&amp;lt;90 generates a warning, cpu&amp;gt;90 generates a critical. I can't seem to be able to set up the criticality dimension to the event title/properties.&lt;BR /&gt;&lt;BR /&gt;The latest query I have is below, but whenever I include criticality in the dimensions it messes up the result.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;timeseries cpu_usage = avg(dt.host.cpu.usage), filter: contains(dt.host_group.id, "XXXX"), by:{host.name,dt.source_entity}
| expand cpu_usage 
| fieldsAdd criticality = if(cpu_usage &amp;gt;= 90, "critical", else: "warning")
| fieldsAdd raise_problem = if(cpu_usage &amp;gt;= 80, 1, else: 0)
| summarize raise_problem = collectArray(raise_problem), by: {host.name, timeframe,interval,dt.source_entity, criticality}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 10:16:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299466#M3342</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2026-05-14T10:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional alerting on Anomaly Detector</title>
      <link>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299468#M3343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Let me share this thread also. We were talking also about two timeries metric data and apply some conditional logic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/DQL/Anomaly-Detector-Disk-monitoring-AND-condition/m-p/298214" target="_blank"&gt;https://community.dynatrace.com/t5/DQL/Anomaly-Detector-Disk-monitoring-AND-condition/m-p/298214&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 10:53:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299468#M3343</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-05-14T10:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional alerting on Anomaly Detector</title>
      <link>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299474#M3344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My case is a bit different, getting the multiple conditions isn't that hard, the problem lies in creating a modifiable alert based on that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 11:55:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299474#M3344</guid>
      <dc:creator>g_kat</dc:creator>
      <dc:date>2026-05-14T11:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional alerting on Anomaly Detector</title>
      <link>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299479#M3345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As you can see in link, DQL output is "1" or "0" base on condition are meet or not.&lt;/P&gt;&lt;P&gt;Later you just create an anomaly detector using that DQL and saying below 1, or above 0.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2026 12:53:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Conditional-alerting-on-Anomaly-Detector/m-p/299479#M3345</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-05-14T12:53:34Z</dc:date>
    </item>
  </channel>
</rss>

