<?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: How to select the last number of log entries using DPL in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220284#M183</link>
    <description>&lt;P&gt;Thank you Sini.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 12:47:03 GMT</pubDate>
    <dc:creator>alibasharat</dc:creator>
    <dc:date>2023-08-09T12:47:03Z</dc:date>
    <item>
      <title>How to select the last number of log entries using DPL</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220269#M181</link>
      <description>&lt;P&gt;Hello team,&lt;/P&gt;&lt;P&gt;I have a use case where I am trying to capture the status code from the log entries using DPL.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please take a look at this log entry:&lt;/P&gt;&lt;P&gt;https://c***.c***v.aws.*****.com/ cn-***.***.aws.***.com 200 0 0 313 4837 210 10.3.7.508&lt;BR /&gt;&lt;BR /&gt;I am trying to capture the status code 200 from the above log entry. The condition which i can think of is that from the last .com capture 3 digits integer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note: Please keep in mind that the logs are not one single line. They are huge entries and the status code is always on the last line including the IP address, etc..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:05:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220269#M181</guid>
      <dc:creator>alibasharat</dc:creator>
      <dc:date>2023-08-09T11:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to select the last number of log entries using DPL</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220277#M182</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/65719"&gt;@alibasharat&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try following pattern&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DATA{0,10000} (&amp;lt;&amp;lt;'.com ' INT:statuscode)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Sini&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 11:54:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220277#M182</guid>
      <dc:creator>sinisa_zubic</dc:creator>
      <dc:date>2023-08-09T11:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to select the last number of log entries using DPL</title>
      <link>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220284#M183</link>
      <description>&lt;P&gt;Thank you Sini.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 12:47:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/How-to-select-the-last-number-of-log-entries-using-DPL/m-p/220284#M183</guid>
      <dc:creator>alibasharat</dc:creator>
      <dc:date>2023-08-09T12:47:03Z</dc:date>
    </item>
  </channel>
</rss>

