<?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: Parsing a log file with DQL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226792#M318</link>
    <description>&lt;P&gt;Hi Dannemca&lt;BR /&gt;It worked. I just changed LDF:Text by LD only and now I get just the value.&lt;BR /&gt;|parse content, "LD '\"MT8\"=\"', LD:MT8 '\" \"OMT\"=\"', LD:OMT '\" \"RACQ_ID\"=\"', LD:RACQ_ID '\"'"&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 19:28:27 GMT</pubDate>
    <dc:creator>Raul_CL</dc:creator>
    <dc:date>2023-10-26T19:28:27Z</dc:date>
    <item>
      <title>Parsing a log file with DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226767#M316</link>
      <description>&lt;P&gt;Hi everyone&lt;BR /&gt;I'm new to working with Dynatrace and new in this community.&lt;BR /&gt;I'm writing you because I'm trying to parse out attributes in a log with DQL (Grail), but I'm having a problem getting a clean value.&lt;BR /&gt;My log has (among other info) the next text:&lt;BR /&gt;&lt;STRONG&gt;&lt;BR /&gt;2023-10-25 12:02:35.661320 "MT8"="1314" "OMT"="1304" "RACQ_ID"="00100"&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;I want to parse it creating columns with MT8, OMT and RACQ_ID, however, I'm getting the value with "="1314. I just wish to get 1314, without quotes and the equal symbol.&lt;/P&gt;
&lt;P&gt;I was wondering if you could tell me if there is a way to do that.&lt;BR /&gt;I'm using:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;|fetch logs&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;| filter matchesValue(host.name, "node1" )&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;| filter matchesValue(log.source, "/app01/ssk/output.log")&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;| sort timestamp desc&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;| parse content, "LD 'MT8', LD:MT 'OMT', LD:OMT 'RACQ_ID' LD:RACQ_ID"&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;| fields timestamp , MT8 , OMT , RACQ_ID&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 08:02:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226767#M316</guid>
      <dc:creator>Raul_CL</dc:creator>
      <dc:date>2023-10-27T08:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing a log file with DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226783#M317</link>
      <description>&lt;P&gt;Try this out:&lt;/P&gt;&lt;P&gt;|parse content, "LDF:Text '\"MT8\"=\"', LD:MT8 '\" \"OMT\"=\"', LD:OMT '\" \"RACQ_ID\"=\"', LD:RACQ_ID '\"'"&lt;/P&gt;&lt;P&gt;Let us know if worked.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 18:35:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226783#M317</guid>
      <dc:creator>dannemca</dc:creator>
      <dc:date>2023-10-26T18:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing a log file with DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226792#M318</link>
      <description>&lt;P&gt;Hi Dannemca&lt;BR /&gt;It worked. I just changed LDF:Text by LD only and now I get just the value.&lt;BR /&gt;|parse content, "LD '\"MT8\"=\"', LD:MT8 '\" \"OMT\"=\"', LD:OMT '\" \"RACQ_ID\"=\"', LD:RACQ_ID '\"'"&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 19:28:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Parsing-a-log-file-with-DQL/m-p/226792#M318</guid>
      <dc:creator>Raul_CL</dc:creator>
      <dc:date>2023-10-26T19:28:27Z</dc:date>
    </item>
  </channel>
</rss>

