<?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 matcher in business events in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232995#M485</link>
    <description>&lt;P&gt;Thank you for sharing your findings with the Community; highly appreciated!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 13:25:04 GMT</pubDate>
    <dc:creator>Ana_Kuzmenchuk</dc:creator>
    <dc:date>2023-12-28T13:25:04Z</dc:date>
    <item>
      <title>DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232833#M480</link>
      <description>&lt;P&gt;Hello, how do you use "DQL matcher in business events" when it is necessary to compare a number?&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1703628710862.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16468i75AB2D07F30C70E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1703628710862.png" alt="Ellery_0-1703628710862.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and "matchesPhrase(toString(step), "1002")" works&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_1-1703628795094.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16469i7E23EC2D2F957280/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_1-1703628795094.png" alt="Ellery_1-1703628795094.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_2-1703628849183.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16470iE4EF45B9B2E1437D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_2-1703628849183.png" alt="Ellery_2-1703628849183.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:26:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232833#M480</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2023-12-28T13:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232836#M481</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65321"&gt;@Ellery&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You should convert the string field "step" to double. You can use toDouble() function to convert to numbers with decimals, because your data is pure string.&lt;BR /&gt;Here you have an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cesarsaravia_0-1703632200572.png" style="width: 663px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16471iE888FB180051B5F7/image-dimensions/663x290?v=v2" width="663" height="290" role="button" title="cesarsaravia_0-1703632200572.png" alt="cesarsaravia_0-1703632200572.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data 
  record(timestamp=now()-1m, severity="INFO", event="search successful", number= "10"),
  record(timestamp=now()-1m, severity="INFO", event="search successful", number= "10.1"), 
  record(timestamp=now(), severity="ERROR", event="failed to find product", number= "15.5"),
  record(timestamp=now()-1m, severity="INFO", event="search successful", number= "15.6"), 
  record(timestamp=now(), severity="ERROR", event="failed to find product", number= "5.4")
| filter toDouble(number)&amp;gt;=10 and toDouble(number) &amp;lt;= 20.9
| fieldsAdd success=if(contains(event,"success"),true)&lt;/LI-CODE&gt;&lt;P&gt;BR,&lt;BR /&gt;-Cesar S.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 23:12:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232836#M481</guid>
      <dc:creator>cesarsaravia</dc:creator>
      <dc:date>2023-12-26T23:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232840#M483</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This works excellently in LOGS and Event&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;s,&amp;nbsp;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_0-1703642219784.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16472iEE3B0A8E00013456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_0-1703642219784.png" alt="Ellery_0-1703642219784.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when we go to "&lt;STRONG&gt;Business event metric extraction&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ellery_1-1703642351766.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/16473i314FE88C15F3BBC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ellery_1-1703642351766.png" alt="Ellery_1-1703642351766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in this only acepts&amp;nbsp;matchesPhrase and&amp;nbsp;matchesValue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 02:01:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232840#M483</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2023-12-27T02:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232841#M484</link>
      <description>&lt;P&gt;i found the solution, almost acepts "==" equals for numbers&lt;/P&gt;&lt;P&gt;the query it's "matchesPhrase(event.type, "resultado admision") and matchesPhrase(event.provider, "prod.salud.achs.cl") and (step == 1002 or step == 1002.1 or step == 1002.2 or step == 1002.3 or step == 1002.4 or step == 1002.5)"&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 02:23:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232841#M484</guid>
      <dc:creator>Ellery</dc:creator>
      <dc:date>2023-12-27T02:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232995#M485</link>
      <description>&lt;P&gt;Thank you for sharing your findings with the Community; highly appreciated!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:25:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/232995#M485</guid>
      <dc:creator>Ana_Kuzmenchuk</dc:creator>
      <dc:date>2023-12-28T13:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: DQL matcher in business events</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/242399#M814</link>
      <description>&lt;P&gt;I find that useful, however, I don't feel like adding 100 ors in case, of, f.e. a response code, 5xx, I did something different:&lt;/P&gt;&lt;P&gt;Captured the response normally, then added a new field of the converted response code to a string in Processing with&lt;/P&gt;&lt;P&gt;FIELDS_ADD(rescodeString:""+rescode)&lt;/P&gt;&lt;P&gt;and added a filter to the business event metric capture:&lt;/P&gt;&lt;P&gt;matchesValue(rescodeString,"5*")&lt;/P&gt;&lt;P&gt;Probably, there is a better option to do this.&lt;/P&gt;&lt;P&gt;But replacing DQL Matchers with actual DQL would be the best, since It is practically unusable.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 11:12:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-matcher-in-business-events/m-p/242399#M814</guid>
      <dc:creator>itamarmesa</dc:creator>
      <dc:date>2024-04-11T11:12:51Z</dc:date>
    </item>
  </channel>
</rss>

