<?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: Regex/Parsing logic to extract nested or repeating patterns from a specific data record format in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Regex-Parsing-logic-to-extract-nested-or-repeating-patterns-from/m-p/297291#M3259</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/103079"&gt;@TrunksGr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You can use parseAll for this.&lt;BR /&gt;Documentation reference:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/string-functions#parseAll" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/string-functions#parseAll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For the example you shared, it can be inferred as this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(content = "Hello value=\"something1\" value=\"something2\" value=\"something2\"  hello")
| fieldsAdd raw = parseAll(content, "'value=' DQS:val")
| fieldsAdd values = iCollectArray(replaceString(raw[], "\"", ""))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps..&lt;BR /&gt;&lt;BR /&gt;Happy Querying&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2026 06:27:58 GMT</pubDate>
    <dc:creator>Maheedhar_T</dc:creator>
    <dc:date>2026-04-06T06:27:58Z</dc:date>
    <item>
      <title>Regex/Parsing logic to extract nested or repeating patterns from a specific data record format</title>
      <link>https://community.dynatrace.com/t5/DQL/Regex-Parsing-logic-to-extract-nested-or-repeating-patterns-from/m-p/297287#M3258</link>
      <description>&lt;P&gt;I am looking for a way to extract specific substrings from a data record. I need to retrieve all values associated with the key&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;Value&lt;/CODE&gt;that are contained&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;inside&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;value="..."&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;attribute of a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;data record&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;data record(content="Hello value=\"something1\" value=\"something2\" value=\"something2\"&amp;nbsp; hello")&lt;/P&gt;
&lt;P&gt;From the above data I want to return this [something1,something2,something2]&lt;/P&gt;
&lt;P&gt;I am trying to replicate the same thing that Splunk is doing&lt;BR /&gt;| rex field=_raw max_match=9999 "(?s)VALUE=\"(?&amp;lt;term0&amp;gt;.*?)\""&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2026 07:08:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Regex-Parsing-logic-to-extract-nested-or-repeating-patterns-from/m-p/297287#M3258</guid>
      <dc:creator>TrunksGr</dc:creator>
      <dc:date>2026-04-08T07:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Regex/Parsing logic to extract nested or repeating patterns from a specific data record format</title>
      <link>https://community.dynatrace.com/t5/DQL/Regex-Parsing-logic-to-extract-nested-or-repeating-patterns-from/m-p/297291#M3259</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/103079"&gt;@TrunksGr&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;You can use parseAll for this.&lt;BR /&gt;Documentation reference:&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/shortlink/string-functions#parseAll" target="_blank"&gt;https://docs.dynatrace.com/docs/shortlink/string-functions#parseAll&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For the example you shared, it can be inferred as this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;data record(content = "Hello value=\"something1\" value=\"something2\" value=\"something2\"  hello")
| fieldsAdd raw = parseAll(content, "'value=' DQS:val")
| fieldsAdd values = iCollectArray(replaceString(raw[], "\"", ""))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps..&lt;BR /&gt;&lt;BR /&gt;Happy Querying&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2026 06:27:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Regex-Parsing-logic-to-extract-nested-or-repeating-patterns-from/m-p/297291#M3259</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2026-04-06T06:27:58Z</dc:date>
    </item>
  </channel>
</rss>

