<?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 question/puzzle in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266383#M1565</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Last day of the year question/puzzle....&lt;/P&gt;&lt;P&gt;When showing tags from a host, an array is retuned.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to extract the contents of a specific tag.&lt;/P&gt;&lt;P&gt;So my thought was to convert the array to a string, and use DPL to extract the value.&lt;/P&gt;&lt;P&gt;Am I on the correct track, or maybe there are better ways to achieve this?&lt;/P&gt;&lt;P&gt;For later, happy new year!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Dec 2024 10:30:01 GMT</pubDate>
    <dc:creator>henk_stobbe</dc:creator>
    <dc:date>2024-12-31T10:30:01Z</dc:date>
    <item>
      <title>DQL/DPL question/puzzle</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266383#M1565</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Last day of the year question/puzzle....&lt;/P&gt;&lt;P&gt;When showing tags from a host, an array is retuned.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to extract the contents of a specific tag.&lt;/P&gt;&lt;P&gt;So my thought was to convert the array to a string, and use DPL to extract the value.&lt;/P&gt;&lt;P&gt;Am I on the correct track, or maybe there are better ways to achieve this?&lt;/P&gt;&lt;P&gt;For later, happy new year!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Dec 2024 10:30:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266383#M1565</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2024-12-31T10:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: DQL/DPL question/puzzle</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266426#M1566</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/11427"&gt;@henk_stobbe&lt;/a&gt;&amp;nbsp;yes, this is one of the solutions. you can also use a combination of expand / parse / filter - for example how get the dt.owner tag value:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;fetch dt.entity.host
| fieldsAdd tags
| expand tags
| parse tags, """((LD:tag (!&amp;lt;&amp;lt;'\\' ':') LD:value)|LD:tag)"""
| fieldsAdd dt.owner = if(isNotNull(value), value)
| filter tag=="dt.owner"
| fieldsRemove value, tags, tag&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jan 2025 20:59:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266426#M1566</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-01-01T20:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: DQL/DPL question/puzzle</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266437#M1567</link>
      <description>&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;Best wishes! And thanks for your great answer,&lt;/P&gt;&lt;P&gt;KR Henk&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2025 08:06:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-DPL-question-puzzle/m-p/266437#M1567</guid>
      <dc:creator>henk_stobbe</dc:creator>
      <dc:date>2025-01-02T08:06:17Z</dc:date>
    </item>
  </channel>
</rss>

