<?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: Parsed Information from String to Array in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258415#M1305</link>
    <description>&lt;P&gt;If it is&amp;nbsp;"S_PEP" (not a number), how do you want to calculate "&lt;SPAN&gt;arraySum(Watchlist)" ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or maybe you want to order records alphabetically (| sort Watchlist) ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 13:45:12 GMT</pubDate>
    <dc:creator>krzysztof_hoja</dc:creator>
    <dc:date>2024-10-07T13:45:12Z</dc:date>
    <item>
      <title>Parse String Values into Arrays Using Dynatrace DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258138#M1302</link>
      <description>&lt;P&gt;&lt;EM&gt;Summary:&amp;nbsp;This thread shows how to parse string data into array structures in DQL. It includes examples of splitting fields and working with the resulting array elements.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Good Afternoon,&lt;/P&gt;
&lt;P&gt;Is it possible to convert a string from a parsed command to an array?&lt;/P&gt;
&lt;P&gt;This is the parsed command I have.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;| parse event.original, """LD 'watchlist":' LD:Watchlist ',' """&lt;/P&gt;
&lt;P&gt;I wish to use the sort command below, but it states that watchlist is a string, not an array.&lt;/P&gt;
&lt;P&gt;| sort arraySum(Watchlist) desc&lt;/P&gt;
&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 10:45:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258138#M1302</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2026-01-27T10:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parsed Information from String to Array</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258209#M1303</link>
      <description>&lt;P&gt;Yes, it is possible and there are many option. Depending on how this array is represented in string, you can use:&lt;BR /&gt;&lt;A href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/string-functions#splitString" target="_blank"&gt;https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/string-functions#splitString&lt;/A&gt;&lt;BR /&gt;or&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-pattern-language/log-processing-json-array" target="_blank"&gt;https://docs.dynatrace.com/docs/platform/grail/dynatrace-pattern-language/log-processing-json-array&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/platform/grail/dynatrace-pattern-language/log-processing-array" target="_blank"&gt;https://docs.dynatrace.com/docs/platform/grail/dynatrace-pattern-language/log-processing-array&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To advice more precisely example of original filed value would be helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2024 11:25:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258209#M1303</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-10-05T11:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Parsed Information from String to Array</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258325#M1304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;krzysztof_hoja,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The filed value returned from the watchlist parsed command above is&amp;nbsp; "S_PEP"&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;DIV class=""&gt;&lt;A class="" href="https://community.dynatrace.com/t5/DQL/Parsed-Information-from-String-to-Array/m-p/258209#" target="_blank" rel="noopener"&gt;Preview&lt;/A&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Oct 2024 07:14:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258325#M1304</guid>
      <dc:creator>Gib80</dc:creator>
      <dc:date>2024-10-07T07:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parsed Information from String to Array</title>
      <link>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258415#M1305</link>
      <description>&lt;P&gt;If it is&amp;nbsp;"S_PEP" (not a number), how do you want to calculate "&lt;SPAN&gt;arraySum(Watchlist)" ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Or maybe you want to order records alphabetically (| sort Watchlist) ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 13:45:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parse-String-Values-into-Arrays-Using-Dynatrace-DQL/m-p/258415#M1305</guid>
      <dc:creator>krzysztof_hoja</dc:creator>
      <dc:date>2024-10-07T13:45:12Z</dc:date>
    </item>
  </channel>
</rss>

