<?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: Extract single line CSV data into multiple columns in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/252251#M1103</link>
    <description>&lt;P&gt;Figured the 1st part out, with some help:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;parse (content, "(LD:dup_timeStamp LD:component FLOAT:AvgTime INT:NoOfClaims INT:WorstTime INT:Time_Outs INT:Exceptions FLOAT:Standin )(fs=',')")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 11:12:12 GMT</pubDate>
    <dc:creator>andre_vdveen</dc:creator>
    <dc:date>2024-08-01T11:12:12Z</dc:date>
    <item>
      <title>Extract single line CSV data into multiple columns</title>
      <link>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/252228#M1102</link>
      <description>&lt;P&gt;Hi, I'm trying to get the data in a CSV log file split into separate columns, but I'm stuck with DQL/DPL.&lt;BR /&gt;Any help would be super appreciated!&lt;/P&gt;&lt;P&gt;Also, I assume I'd need a metric for each column if I want to get the values onto a dashboard, right?&lt;BR /&gt;Each value separated by a comma, needs to fall into the columns below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_1-1722501799170.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21565iB58CD04F39642070/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_1-1722501799170.png" alt="andre_vdveen_1-1722501799170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the raw data - the masked text goes with 'Claims' or 'Batch Claims' and is called the 'Component' in the example above:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andre_vdveen_0-1722501653700.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/21563i2CB9FC251DA0CCA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andre_vdveen_0-1722501653700.png" alt="andre_vdveen_0-1722501653700.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 08:45:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/252228#M1102</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2024-08-01T08:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract single line CSV data into multiple columns</title>
      <link>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/252251#M1103</link>
      <description>&lt;P&gt;Figured the 1st part out, with some help:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;parse (content, "(LD:dup_timeStamp LD:component FLOAT:AvgTime INT:NoOfClaims INT:WorstTime INT:Time_Outs INT:Exceptions FLOAT:Standin )(fs=',')")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 11:12:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/252251#M1103</guid>
      <dc:creator>andre_vdveen</dc:creator>
      <dc:date>2024-08-01T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extract single line CSV data into multiple columns</title>
      <link>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/254093#M1144</link>
      <description>&lt;P&gt;I'm in a similar situation.&lt;BR /&gt;Kinda surprise that with all the DQL power you cannot auto parse a field which contains multiple value divided by comma ",".&lt;BR /&gt;My love for excel still persist &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 13:25:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/254093#M1144</guid>
      <dc:creator>y_buccellato</dc:creator>
      <dc:date>2024-08-23T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Extract single line CSV data into multiple columns</title>
      <link>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/285742#M2580</link>
      <description>&lt;P&gt;So, you could potentially do this with a sophisticated enough DPL query, however, the main problem is that you have to know the CSV headers ahead of time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have tons of pipelines that auto-parse JSON and XML logs data, but that's because the JSON/XML records contain the key names and the values in each record.&amp;nbsp; With CSV, only the first line of a log file would potentially have the column names, and since the log parsing is done one line at a time, it has no way to know about the headers defined in some other record earlier that day or week, so you would have to build a DPL parser that defines the name of each item.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2025 20:06:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Extract-single-line-CSV-data-into-multiple-columns/m-p/285742#M2580</guid>
      <dc:creator>36Krazyfists</dc:creator>
      <dc:date>2025-09-10T20:06:37Z</dc:date>
    </item>
  </channel>
</rss>

