<?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: Parse out the last word in a string in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272881#M1819</link>
    <description>&lt;P&gt;Thanks for the input&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do You Need In This Format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zaidbashir_0-1742370321942.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27034iB4A0E231634B8728/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_0-1742370321942.png" alt="zaidbashir_0-1742370321942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is a sample dataset I created for You With DQL Query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(dset1 = "2025-02-16T09:02:05.706761982+02:00 stdout F 2025-02-16 09:02:05,706 INFO  1dsd456a123-exxx1-4c345-923ws-0c5xxxxxxx4455555  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - TH34fghJUy68Vfgjg12z67 - GBPZAR"),
     record(dset1 = "2025-02-16T09:03:10.812345678+02:00 stdout F 2025-02-16 09:03:10,812 INFO  2asd789b456-zyyy2-5d678-456ab-1d5yyyyyyy6677777  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - YU56dfgHJk90Xyzkl34z78 - USDJPY"),
     record(dset1 = "2025-02-16T09:04:15.923456789+02:00 stdout F 2025-02-16 09:04:15,923 INFO  3qwe012c789-abcd3-6e901-567cd-2e6zzzzzzz8899999  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - OP78hjkLMn12Wxyzm56a89 - EURUSD"),
     record(dset1 = "2025-02-16T09:05:20.034567890+02:00 stdout F 2025-02-16 09:05:20,034 INFO  4rty345d012-wxyz4-7f234-678de-3f7aaaaaaa9900000  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - ZX90mnoPQr34Abcde78b01 - AUDCAD"),
     record(dset1 = "2025-02-16T09:06:25.145678901+02:00 stdout F 2025-02-16 09:06:25,145 INFO  5uio678e345-lmno5-8g567-789ef-4g8bbbbbbb0111111  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - CV12qrsTUv56Defgh90c23 - NZDCHF"),
     record(dset1 = "2025-02-16T09:07:30.256789012+02:00 stdout F 2025-02-16 09:07:30,256 INFO  6asd901f678-pqrs6-9h890-890fg-5h9ccccccc1222222  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - BN34uvwXYz78Gijkl12d45 - USDCHF"),
     record(dset1 = "2025-02-16T09:08:35.367890123+02:00 stdout F 2025-02-16 09:08:35,367 INFO  7zxc234g901-qrst7-0i123-901gh-6i0ddddddd2333333  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - KL56mnoPQr90Hijkl34e67 - GBPJPY"),
     record(dset1 = "2025-02-16T09:09:40.478901234+02:00 stdout F 2025-02-16 09:09:40,478 INFO  8vbn567h234-uvwx8-1j456-012hi-7j1eeeeeee3444444  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - OP78hjkLMn12Xyzkl56f89 - EURJPY"),
     record(dset1 = "2025-02-16T09:10:45.589012345+02:00 stdout F 2025-02-16 09:10:45,589 INFO  9mkl890i567-wxyz9-2k789-123ij-8k2fffffff4555555  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - ZX90mnoPQr34Abcde78g01 - CADJPY"),
     record(dset1 = "2025-02-16T09:11:50.690123456+02:00 stdout F 2025-02-16 09:11:50,690 INFO  10qwe123j890-abcd0-3l012-234jk-9l3ggggggg5666666  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - CV12qrsTUv56Defgh90h23 - AUDJPY")

     | fieldsAdd parsed = splitString(dset1,"-")
     | fieldsAdd currency = arrayLast(parsed)
     | dedup currency
     | summarize currencyCount = count(), by:{dset1,currency}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 07:47:41 GMT</pubDate>
    <dc:creator>zaid-bashir</dc:creator>
    <dc:date>2025-03-19T07:47:41Z</dc:date>
    <item>
      <title>Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272819#M1814</link>
      <description>&lt;P&gt;Does anyone know if it is possible to parse out the last word in a string? (The word can differ)&lt;/P&gt;&lt;P&gt;The DPL reference does not mention this anywhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 14:08:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272819#M1814</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-18T14:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272869#M1816</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;We can achieve this using plain DQL as well. Below is the DQL query for the same.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(name = "Hello Dynatrace Community")
| fieldsAdd parsed = splitString(name," ")
| fieldsAdd result = arrayLast(parsed)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above query is dynamic, you can use this for any string text. The working is simple:&lt;/P&gt;&lt;P&gt;1) First take the string data which you have to parse.&lt;BR /&gt;2) Then Split the String using &lt;STRONG&gt;splitString&lt;/STRONG&gt;&amp;nbsp;function with some pattern like " " (SPACE) here. It will convert String in List.&lt;BR /&gt;3) Finally, use function &lt;STRONG&gt;arrayLast &lt;/STRONG&gt;to get the last part of the string.&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="zaidbashir_0-1742364177360.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27031i98DB096E5C964F4E/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_0-1742364177360.png" alt="zaidbashir_0-1742364177360.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 06:03:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272869#M1816</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T06:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272871#M1817</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for this, maybe let me give you an example of my data set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the below, I need to create an attribute to calculate the number of each currency pair (GBPZAR, USDZAR, etc.) which differs with every quote. The Currency pair is always the last word in the string.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2025-02-16T09:02:05.706761982+02:00 stdout F 2025-02-16 09:02:05,706 INFO  1dsd456a123-exxx1-4c345-923ws-0c5xxxxxxx4455555  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - TH34fghJUy68Vfgjg12z67 - GBPZAR&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2025-02-16T09:02:05.706761982+02:00 stdout F 2025-02-16 09:02:05,706 INFO  1dsd456a123-exxx1-4c345-923ws-0c5xxxxxxx4455555  FXRatesService.MoveNext - Get FX Rate Quote: Treasury One (Pty) Ltd - Tier 1 - 1 - USDZAR&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:18:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272871#M1817</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T07:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272879#M1818</link>
      <description>&lt;P&gt;Could you please try with&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch logs
| fieldsAdd lastWord = arrayLast(splitString(content, " "))&lt;/LI-CODE&gt;&lt;P&gt;May work&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PacoPorro_0-1742370234634.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27033i01CAD8C15C2195C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PacoPorro_0-1742370234634.png" alt="PacoPorro_0-1742370234634.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:44:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272879#M1818</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2025-03-19T07:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272881#M1819</link>
      <description>&lt;P&gt;Thanks for the input&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do You Need In This Format&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zaidbashir_0-1742370321942.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27034iB4A0E231634B8728/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_0-1742370321942.png" alt="zaidbashir_0-1742370321942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is a sample dataset I created for You With DQL Query.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(dset1 = "2025-02-16T09:02:05.706761982+02:00 stdout F 2025-02-16 09:02:05,706 INFO  1dsd456a123-exxx1-4c345-923ws-0c5xxxxxxx4455555  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - TH34fghJUy68Vfgjg12z67 - GBPZAR"),
     record(dset1 = "2025-02-16T09:03:10.812345678+02:00 stdout F 2025-02-16 09:03:10,812 INFO  2asd789b456-zyyy2-5d678-456ab-1d5yyyyyyy6677777  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - YU56dfgHJk90Xyzkl34z78 - USDJPY"),
     record(dset1 = "2025-02-16T09:04:15.923456789+02:00 stdout F 2025-02-16 09:04:15,923 INFO  3qwe012c789-abcd3-6e901-567cd-2e6zzzzzzz8899999  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - OP78hjkLMn12Wxyzm56a89 - EURUSD"),
     record(dset1 = "2025-02-16T09:05:20.034567890+02:00 stdout F 2025-02-16 09:05:20,034 INFO  4rty345d012-wxyz4-7f234-678de-3f7aaaaaaa9900000  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - ZX90mnoPQr34Abcde78b01 - AUDCAD"),
     record(dset1 = "2025-02-16T09:06:25.145678901+02:00 stdout F 2025-02-16 09:06:25,145 INFO  5uio678e345-lmno5-8g567-789ef-4g8bbbbbbb0111111  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - CV12qrsTUv56Defgh90c23 - NZDCHF"),
     record(dset1 = "2025-02-16T09:07:30.256789012+02:00 stdout F 2025-02-16 09:07:30,256 INFO  6asd901f678-pqrs6-9h890-890fg-5h9ccccccc1222222  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - BN34uvwXYz78Gijkl12d45 - USDCHF"),
     record(dset1 = "2025-02-16T09:08:35.367890123+02:00 stdout F 2025-02-16 09:08:35,367 INFO  7zxc234g901-qrst7-0i123-901gh-6i0ddddddd2333333  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - KL56mnoPQr90Hijkl34e67 - GBPJPY"),
     record(dset1 = "2025-02-16T09:09:40.478901234+02:00 stdout F 2025-02-16 09:09:40,478 INFO  8vbn567h234-uvwx8-1j456-012hi-7j1eeeeeee3444444  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - OP78hjkLMn12Xyzkl56f89 - EURJPY"),
     record(dset1 = "2025-02-16T09:10:45.589012345+02:00 stdout F 2025-02-16 09:10:45,589 INFO  9mkl890i567-wxyz9-2k789-123ij-8k2fffffff4555555  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - ZX90mnoPQr34Abcde78g01 - CADJPY"),
     record(dset1 = "2025-02-16T09:11:50.690123456+02:00 stdout F 2025-02-16 09:11:50,690 INFO  10qwe123j890-abcd0-3l012-234jk-9l3ggggggg5666666  FXRatesService.MoveNext - Get FX Rate Quote: TFX - Tier 3 - CV12qrsTUv56Defgh90h23 - AUDJPY")

     | fieldsAdd parsed = splitString(dset1,"-")
     | fieldsAdd currency = arrayLast(parsed)
     | dedup currency
     | summarize currencyCount = count(), by:{dset1,currency}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:47:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272881#M1819</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T07:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272882#M1820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;&amp;nbsp;, this is exactly what I am looking for, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:52:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272882#M1820</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T07:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272883#M1821</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;&amp;nbsp;, this will also work for me, thanks for showing!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:53:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272883#M1821</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T07:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272885#M1822</link>
      <description>&lt;P&gt;I have to ask, how do I keep the dataset up to date?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 07:57:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272885#M1822</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T07:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272886#M1823</link>
      <description>&lt;P&gt;Thanks for acknowledging the solution.&lt;BR /&gt;I didn't understand, Can you explain it a bit.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:00:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272886#M1823</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T08:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272888#M1824</link>
      <description>&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;I need to create a log processing rule to structure the data in such a way as to create an attribute for the currency pairs. This way I can use the attribute in a metric dimension to split by each currency pair count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:07:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272888#M1824</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T08:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272896#M1826</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;&amp;nbsp;Do you know why this does not work with log processing rules? Does it use a different syntax?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pieter_luttig_0-1742372948924.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27041iA2A01404C014668C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pieter_luttig_0-1742372948924.png" alt="pieter_luttig_0-1742372948924.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:29:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272896#M1826</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272897#M1827</link>
      <description>&lt;P&gt;Thanks for the input&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I created a log processing rule and also a DPL way to extract currency. Have a look at Screenshots attached below.&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="zaidbashir_0-1742372763363.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27039iF0C575974F856D5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_0-1742372763363.png" alt="zaidbashir_0-1742372763363.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zaidbashir_1-1742372798192.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/27040iA674F8C2D4AAC6F3/image-size/large?v=v2&amp;amp;px=999" role="button" title="zaidbashir_1-1742372798192.png" alt="zaidbashir_1-1742372798192.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the DPL way to extract Currency is as following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PARSE(content,"ld 'Tier' SPACE INT SPACE '-' SPACE ALNUM SPACE '-' SPACE string:value")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Now Whenever you fetch logs matching content "&lt;STRONG&gt;Get FX Rate&lt;/STRONG&gt;", they will contain one field "&lt;STRONG&gt;value&lt;/STRONG&gt;", where your currency will be stored.&lt;BR /&gt;&lt;BR /&gt;Thanks for posting this question, I also learned a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:30:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272897#M1827</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T08:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272900#M1828</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/79156"&gt;@zaid-bashir&lt;/a&gt;&amp;nbsp;, you nailed it, this is working perfectly!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the mistake of thinking that DQL and DPL have some degree of compatibility between them.&lt;/P&gt;&lt;P&gt;Apologies for not explaining it better from the beginning.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pieter&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 08:48:18 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272900#M1828</guid>
      <dc:creator>pieter_luttig</dc:creator>
      <dc:date>2025-03-19T08:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272905#M1829</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Glad to hear that you are satisfied with the Solution.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 09:46:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272905#M1829</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T09:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parse out the last word in a string</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272906#M1830</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/30846"&gt;@pieter_luttig&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;For better understanding, go to the example link shown above...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 09:51:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-out-the-last-word-in-a-string/m-p/272906#M1830</guid>
      <dc:creator>zaid-bashir</dc:creator>
      <dc:date>2025-03-19T09:51:36Z</dc:date>
    </item>
  </channel>
</rss>

