<?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: Create a log processing rule to keep the latest log received from the timestamp in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/291846#M2953</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68059"&gt;@AlexisGND&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 18 Dec 2025 14:26:59 GMT</pubDate>
    <dc:creator>IzabelaRokita</dc:creator>
    <dc:date>2025-12-18T14:26:59Z</dc:date>
    <item>
      <title>Keep Latest Logs with Custom Processing Rules in DQL</title>
      <link>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247242#M935</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I want to make a processing rule to filter out an entire log.&lt;BR /&gt;&lt;BR /&gt;Here's the log sample :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;[
    {
      "interface.name": "Seq_SAP_to_AGV",
      "host.environment": "PROD",
      "host.name": "Datastage",
      "content": "Seq_SAP_to_AGV Finished - OK",
      "execution.status": "Finished - OK",
      "execution.starttime": "2024-05-28 14:00:34",
      "execution.endtime": "2024-05-28 14:01:34",
      "event.type": "LOG",
      "loglevel": "NOTICE",
      "interface.target.domain": "MFG",
      "ID": "Seq_SAP_to_AGV#28052024.140034",
      "timestamp": "2024-05-28T14:00:34.000000000Z",
      "status": "INFO"
    },
    {
      "interface.name": "Seq_SAP_to_AGV",
      "host.environment": "PROD",
      "host.name": "Datastage",
      "content": "Seq_SAP_to_AGV Running - no warnings",
      "execution.status": "Running - no warnings",
      "execution.starttime": "2024-05-28 14:00:34",
      "event.type": "LOG",
      "loglevel": "NOTICE",
      "interface.target.domain": "MFG",
      "ID": "Seq_SAP_to_AGV#28052024.140034",
      "timestamp": "2024-05-28T14:00:34.000000000Z",
      "status": "INFO"
    }
  ]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see, the "ID" is the same between these 2 logs because i received a "Running" status first and a "Finished" status at the end.&lt;BR /&gt;&lt;BR /&gt;Now my need is to filter out all of the other informations who contains "Running with..." with this ID because it is an outdated information since I received the same one with the "Finished with..." and the "endtime".&lt;BR /&gt;&lt;BR /&gt;If I want to speak with other words : I want to keep only the latest information received from the timestamp for every ID.&lt;BR /&gt;&lt;BR /&gt;Is it possible ?&lt;BR /&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Alexis&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 14:27:58 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247242#M935</guid>
      <dc:creator>AlexisGND</dc:creator>
      <dc:date>2025-12-18T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a log processing rule to keep the latest log received from the timestamp</title>
      <link>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247293#M937</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a similar need (But mine is a little complex).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your case I can suggest to drop logs that contain&amp;nbsp;&lt;SPAN&gt;"Running" ... and with this rule you will keep only&amp;nbsp;"Finished with..." and the "endtime"...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 06:44:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247293#M937</guid>
      <dc:creator>Malaik</dc:creator>
      <dc:date>2024-06-04T06:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create a log processing rule to keep the latest log received from the timestamp</title>
      <link>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247351#M939</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for your suggestion but unfortunately my need is to also display the running datas for those who are actually running in my dashboards &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the idea of making multiple queries, then to be able to assemble them in one DataTable is possible with my NodeJs custom app on Dynatrace.&lt;BR /&gt;&lt;BR /&gt;I will try this method instead until i find something relevant to this log processing rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;Alexis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 15:29:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/247351#M939</guid>
      <dc:creator>AlexisGND</dc:creator>
      <dc:date>2024-06-04T15:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a log processing rule to keep the latest log received from the timestamp</title>
      <link>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/291846#M2953</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/68059"&gt;@AlexisGND&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you!&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know what works best for you.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Dec 2025 14:26:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Keep-Latest-Logs-with-Custom-Processing-Rules-in-DQL/m-p/291846#M2953</guid>
      <dc:creator>IzabelaRokita</dc:creator>
      <dc:date>2025-12-18T14:26:59Z</dc:date>
    </item>
  </channel>
</rss>

