<?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 DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!! in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230296#M392</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm really struggling in getting all the different "D"-Languages and their usage in different scenarios right. Is it just me who thinks this is extremely confusing?&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;I can "easily" (ha!) create a DQL statement DPL Archtiect app that extracts values from a BizEvent (payload in XML format) that was captured before by this nice query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch bizevents
| filter event.type == "MHS"
//| parse(payload,
| parse payload, """DATA"&amp;lt;s0:processOrder"
LD"&amp;lt;totalSum&amp;gt;"FLOAT:totalsum"&amp;lt;/totalSum&amp;gt;"
LD"&amp;lt;currency&amp;gt;"UPPER:currency"&amp;lt;/currency&amp;gt;"
LD"&amp;lt;amount&amp;gt;"FLOAT:payment_amount"&amp;lt;/amount&amp;gt;&amp;lt;code&amp;gt;"LOWER:payment_code"&amp;lt;/code&amp;gt;"
LD"&amp;lt;providerReferenceNumber&amp;gt;"LONG:providerReferenceNumber"&amp;lt;/providerReferenceNumber&amp;gt;"
"&amp;lt;paymentStatus&amp;gt;"UPPER:payment_status"&amp;lt;/paymentStatus&amp;gt;"
"&amp;lt;paymentGateway&amp;gt;"LOWER:payment_gateway"&amp;lt;/paymentGateway&amp;gt;"
LD"&amp;lt;country&amp;gt;"UPPER:country"&amp;lt;/country&amp;gt;""""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if I want to use that in a BizEvent Ingest Processing rule I have no idea what to post there:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_1-1701270703139.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15897i0B17EC26ECDEB4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_1-1701270703139.png" alt="r_weber_1-1701270703139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sometimes have time to play, but honestly none of my customers will ever get this and also the differences betweeen the similarities of all the "D"-test input fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2023 15:14:04 GMT</pubDate>
    <dc:creator>r_weber</dc:creator>
    <dc:date>2023-11-29T15:14:04Z</dc:date>
    <item>
      <title>DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!!</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230296#M392</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm really struggling in getting all the different "D"-Languages and their usage in different scenarios right. Is it just me who thinks this is extremely confusing?&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;I can "easily" (ha!) create a DQL statement DPL Archtiect app that extracts values from a BizEvent (payload in XML format) that was captured before by this nice query:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch bizevents
| filter event.type == "MHS"
//| parse(payload,
| parse payload, """DATA"&amp;lt;s0:processOrder"
LD"&amp;lt;totalSum&amp;gt;"FLOAT:totalsum"&amp;lt;/totalSum&amp;gt;"
LD"&amp;lt;currency&amp;gt;"UPPER:currency"&amp;lt;/currency&amp;gt;"
LD"&amp;lt;amount&amp;gt;"FLOAT:payment_amount"&amp;lt;/amount&amp;gt;&amp;lt;code&amp;gt;"LOWER:payment_code"&amp;lt;/code&amp;gt;"
LD"&amp;lt;providerReferenceNumber&amp;gt;"LONG:providerReferenceNumber"&amp;lt;/providerReferenceNumber&amp;gt;"
"&amp;lt;paymentStatus&amp;gt;"UPPER:payment_status"&amp;lt;/paymentStatus&amp;gt;"
"&amp;lt;paymentGateway&amp;gt;"LOWER:payment_gateway"&amp;lt;/paymentGateway&amp;gt;"
LD"&amp;lt;country&amp;gt;"UPPER:country"&amp;lt;/country&amp;gt;""""&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now if I want to use that in a BizEvent Ingest Processing rule I have no idea what to post there:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r_weber_1-1701270703139.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15897i0B17EC26ECDEB4BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="r_weber_1-1701270703139.png" alt="r_weber_1-1701270703139.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sometimes have time to play, but honestly none of my customers will ever get this and also the differences betweeen the similarities of all the "D"-test input fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 15:14:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230296#M392</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-11-29T15:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!!</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230324#M394</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/35901"&gt;@r_weber&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately copy &amp;amp; pasting the pattern is not 100% compatible. the biggest difference is with the double quotes. For the processing configuration you have to change the double quotes to single quotes. Following processor definition does not show any errors&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;PARSE(content,"DATA'&amp;lt;s0:processOrder'
LD'&amp;lt;totalSum&amp;gt;'FLOAT:totalsum'&amp;lt;/totalSum&amp;gt;'
LD'&amp;lt;currency&amp;gt;'UPPER:currency'&amp;lt;/currency&amp;gt;'
LD'&amp;lt;amount&amp;gt;'FLOAT:payment_amount'&amp;lt;/amount&amp;gt;&amp;lt;code&amp;gt;'LOWER:payment_code'&amp;lt;/code&amp;gt;'
LD'&amp;lt;providerReferenceNumber&amp;gt;'LONG:providerReferenceNumber'&amp;lt;/providerReferenceNumber&amp;gt;'
'&amp;lt;paymentStatus&amp;gt;'UPPER:payment_status'&amp;lt;/paymentStatus&amp;gt;'
'&amp;lt;paymentGateway&amp;gt;'LOWER:payment_gateway'&amp;lt;/paymentGateway&amp;gt;'
LD'&amp;lt;country&amp;gt;'UPPER:country'&amp;lt;/country&amp;gt;'")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And improvements are in the works, so in future you will be able to copy and paste the pattern between the DPL architect and processor definition without such adjustments.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 18:35:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230324#M394</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-11-29T18:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!!</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230446#M398</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Btw. I ended up with slightly different approach, parsing the right data out of an XML document (where there could be no fixed pattern found for all of these attributes):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PARSE(payload, "DATA'&amp;lt;SOAP-ENV:Body&amp;gt;'DATA:body")
| PARSE(body, "DATA'&amp;lt;s0:'WORD:function SPACE'xmlns'")
| PARSE(body, "DATA'&amp;lt;payment&amp;gt;'DATA:payment'&amp;lt;/payment&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;totalSum&amp;gt;'FLOAT:totalsum'&amp;lt;/totalSum&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;orderType&amp;gt;'UPPER:order_type'&amp;lt;/orderType&amp;gt;'")
| PARSE(payment, "DATA{0,4096}'&amp;lt;currency&amp;gt;'UPPER:currency'&amp;lt;/currency&amp;gt;'")
| PARSE(payment, "DATA'&amp;lt;amount&amp;gt;'FLOAT:payment_amount'&amp;lt;/amount&amp;gt;'")
| PARSE(payment, "DATA'&amp;lt;code&amp;gt;'WORD:payment_code'&amp;lt;/code&amp;gt;'")
| PARSE(payment, "DATA'&amp;lt;paymentStatus&amp;gt;'UPPER:payment_status'&amp;lt;/paymentStatus&amp;gt;'")
| PARSE(payment, "DATA'&amp;lt;paymentGateway&amp;gt;'LOWER:payment_gateway'&amp;lt;/paymentGateway&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;country&amp;gt;'UPPER:country'&amp;lt;/country&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;orderId&amp;gt;'ALNUM:orderid'&amp;lt;/orderId&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;schiene&amp;gt;'ALNUM:rail'&amp;lt;/schiene&amp;gt;'")
| PARSE(body, "DATA'&amp;lt;mandant&amp;gt;'INT:mandant'&amp;lt;/mandant&amp;gt;'")
| FIELDS_REMOVE(payload,body,payment)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;What I noticed is, that the "test" field will not work properly for XML documents, it always expects JSON and embedding a sample XML document into a JSON in this test field simply didn't work.&lt;/P&gt;&lt;P&gt;It might be a good idea to refine that test a bit.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 14:00:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/230446#M398</guid>
      <dc:creator>r_weber</dc:creator>
      <dc:date>2023-11-30T14:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!!</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/237608#M655</link>
      <description>&lt;P&gt;Great question - I have been struggling with this myself.&amp;nbsp; Its seems madness that these two areas are using different languages that are very similar but so different at the same time.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:10:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/237608#M655</guid>
      <dc:creator>Keith_Harding</dc:creator>
      <dc:date>2024-02-21T02:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: DQL, DPL, Processing Pipleline of Logs, Bizevents...OH MY!!</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/237609#M656</link>
      <description>&lt;P&gt;Hi Sini,&lt;/P&gt;&lt;P&gt;Thanks for the message above - at least I know I am not just going mad any more.&lt;BR /&gt;Do you know:&lt;/P&gt;&lt;P&gt;1) if there is any document that summarizes the difference and explains how to translate from one to the other.&lt;/P&gt;&lt;P&gt;2) if we are any closer to these languages coming into alignment.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:13:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-Processing-Pipleline-of-Logs-Bizevents-OH-MY/m-p/237609#M656</guid>
      <dc:creator>Keith_Harding</dc:creator>
      <dc:date>2024-02-21T02:13:11Z</dc:date>
    </item>
  </channel>
</rss>

