<?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: DQL Query - how to get the appVersion in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/DQL-Query-how-to-get-the-appVersion/m-p/265307#M1536</link>
    <description>&lt;P&gt;One option would be to use the parse command to &lt;STRONG&gt;parse&lt;/STRONG&gt; out the version, like this:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| parse appVersion, "(INT '.' INT '.' INT):truncated_version"&lt;/LI-CODE&gt;
&lt;P&gt;Could you show the query where your solution is NOT working?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Dec 2024 21:18:22 GMT</pubDate>
    <dc:creator>Tiit_Hallas</dc:creator>
    <dc:date>2024-12-15T21:18:22Z</dc:date>
    <item>
      <title>DQL Query - how to get the appVersion</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Query-how-to-get-the-appVersion/m-p/264984#M1529</link>
      <description>&lt;P&gt;the appVersion is 3.0.1.1234 (&lt;STRONG&gt;a.b.c.d&lt;/STRONG&gt;- format). but, i need to get the appVersion as &lt;STRONG&gt;&lt;EM&gt;a.b.c.&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;how to achieve that in here?&amp;nbsp;&lt;BR /&gt;actually i achived that by using this code:&amp;nbsp;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;data record(appVersion = "3.0.2.1102")
| fieldsAdd versionParts = splitString(appVersion, ".")
| fieldsAdd truncatedVersion = concat(versionParts[0], ".", versionParts[1],".", versionParts[2])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;but, i am unable to use this on my actual use case in &lt;STRONG&gt;userSessionQuery.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-11 at 3.28.39 PM.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25168i0BFFEFA14A9ED792/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-12-11 at 3.28.39 PM.png" alt="Screenshot 2024-12-11 at 3.28.39 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Help me in this regard&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 08:22:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Query-how-to-get-the-appVersion/m-p/264984#M1529</guid>
      <dc:creator>sivag1205</dc:creator>
      <dc:date>2024-12-12T08:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: DQL Query - how to get the appVersion</title>
      <link>https://community.dynatrace.com/t5/DQL/DQL-Query-how-to-get-the-appVersion/m-p/265307#M1536</link>
      <description>&lt;P&gt;One option would be to use the parse command to &lt;STRONG&gt;parse&lt;/STRONG&gt; out the version, like this:&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| parse appVersion, "(INT '.' INT '.' INT):truncated_version"&lt;/LI-CODE&gt;
&lt;P&gt;Could you show the query where your solution is NOT working?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2024 21:18:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/DQL-Query-how-to-get-the-appVersion/m-p/265307#M1536</guid>
      <dc:creator>Tiit_Hallas</dc:creator>
      <dc:date>2024-12-15T21:18:22Z</dc:date>
    </item>
  </channel>
</rss>

