<?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 DPL extract single value and compare in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DPL-extract-single-value-and-compare/m-p/281892#M2344</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have the following content:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2025-07-20T06:00:38.027Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for destination sql -  SELECT COUNT(DISTINCT product_id) FROM landing.pension_operations_events_streams WHERE TO_TIMESTAMP(headers_timestamp, 'DY MON DD HH24:MI:SS TZD YYYY')::date = CURRENT_DATE GROUP BY ALL :  [{COUNT(DISTINCT PRODUCT_ID)=0}]&lt;/LI-CODE&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2025-07-20T06:00:38.025Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for source sql -  SELECT COUNT(*) FROM product p WHERE p.updated_at::date = CURRENT_DATE :  [{count=0}]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to be able to comapre [{COUNT(DISTINCT PRODUCT_ID)=0}] and [{count=0}]&lt;BR /&gt;and if those values are not equal, show a red icon in a dashboard or something like that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jul 2025 13:04:43 GMT</pubDate>
    <dc:creator>almog50</dc:creator>
    <dc:date>2025-07-21T13:04:43Z</dc:date>
    <item>
      <title>DPL extract single value and compare</title>
      <link>https://community.dynatrace.com/t5/DQL/DPL-extract-single-value-and-compare/m-p/281892#M2344</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have the following content:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2025-07-20T06:00:38.027Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for destination sql -  SELECT COUNT(DISTINCT product_id) FROM landing.pension_operations_events_streams WHERE TO_TIMESTAMP(headers_timestamp, 'DY MON DD HH24:MI:SS TZD YYYY')::date = CURRENT_DATE GROUP BY ALL :  [{COUNT(DISTINCT PRODUCT_ID)=0}]&lt;/LI-CODE&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2025-07-20T06:00:38.025Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for source sql -  SELECT COUNT(*) FROM product p WHERE p.updated_at::date = CURRENT_DATE :  [{count=0}]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to be able to comapre [{COUNT(DISTINCT PRODUCT_ID)=0}] and [{count=0}]&lt;BR /&gt;and if those values are not equal, show a red icon in a dashboard or something like that.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 13:04:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DPL-extract-single-value-and-compare/m-p/281892#M2344</guid>
      <dc:creator>almog50</dc:creator>
      <dc:date>2025-07-21T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: DPL extract single value and compare</title>
      <link>https://community.dynatrace.com/t5/DQL/DPL-extract-single-value-and-compare/m-p/281952#M2345</link>
      <description>&lt;P&gt;I'm not sure what is the context where you want to apply this, but at least I'll provide you the parse sentence to extraxt the value you want to compare:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;data record(content = "2025-07-20T06:00:38.027Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for destination sql -  SELECT COUNT(DISTINCT product_id) FROM landing.pension_operations_events_streams WHERE TO_TIMESTAMP(headers_timestamp, 'DY MON DD HH24:MI:SS TZD YYYY')::date = CURRENT_DATE GROUP BY ALL :  [{COUNT(DISTINCT PRODUCT_ID)=0}]"), 
record(content = "This is a string with UUID: --2025-07-20T06:00:38.025Z  INFO 1 --- [db-monitor] [           main] c.d.i.d.util.DbMonitorCommandLineRunner  : Outbox monitor results for source sql -  SELECT COUNT(*) FROM product p WHERE p.updated_at::date = CURRENT_DATE :  [{count=0}]")
| parse content, """LD '::date' LD ':' ld '[' LD:data ']'"""&lt;/LI-CODE&gt;&lt;P&gt;PARSE:&amp;nbsp;| parse content, """LD '::date' LD ':' ld '[' LD:data ']'"""&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2025 16:17:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DPL-extract-single-value-and-compare/m-p/281952#M2345</guid>
      <dc:creator>Emm4nuel</dc:creator>
      <dc:date>2025-07-21T16:17:36Z</dc:date>
    </item>
  </channel>
</rss>

