<?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: Log entry for open and close problem in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302695#M39345</link>
    <description>&lt;P&gt;I am not in Product Engineering - so - I cant comment on how long this would take. Lets see what the reaction is on the RFE Ticket. In the meantime I hope you got some hints here in the thread on how to move forward&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jul 2026 13:19:41 GMT</pubDate>
    <dc:creator>andreas_grabner</dc:creator>
    <dc:date>2026-07-31T13:19:41Z</dc:date>
    <item>
      <title>Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302544#M39335</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;We have a case where a program logs to a file when it is having issues. It also tries to self remediate which it also enters into the same log.&lt;/P&gt;&lt;P&gt;Hence what I would like to happen is the following:&lt;/P&gt;&lt;P&gt;1. Detecting "Issue starting" log entry, Open Problem&lt;/P&gt;&lt;P&gt;2. Detecting "Issue ending" log entry, Close Problem.&lt;/P&gt;&lt;P&gt;Is this possible in any way?&lt;/P&gt;&lt;P&gt;Possibly even with Workflows?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 10:58:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302544#M39335</guid>
      <dc:creator>tarjei</dc:creator>
      <dc:date>2026-07-29T10:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302556#M39336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Dynatrace does not work in that way about closing log problems. Problems are opened base on log match and they are closed base on delay. You can play with delay, it means:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Log pattern found =&amp;gt; Problem is created.&lt;/LI&gt;&lt;LI&gt;Log pattern has not been after X minutes (you can configure delay, 15 minutes, 4, hours...) =&amp;gt; Problem closed.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It means, problems are not closed when another log pattern is found. They are closed when before log pattern &lt;STRONG&gt;IS NOT found again&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Maybe you can explore Anomaly detection or workflow. You have here a &lt;A title="backup example" href="https://docs.dynatrace.com/docs/shortlink/anomaly-detection-use-cases#missing-backups" target="_blank" rel="noopener"&gt;backup example&lt;/A&gt;&amp;nbsp;. But keed in mind reading logs consume license.&lt;/P&gt;&lt;P&gt;And of course, you can create your custom script that read log lines and ingest data in Dynatrace.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 12:59:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302556#M39336</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-07-29T12:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302558#M39337</link>
      <description>&lt;P&gt;Could you provide an example of both an &lt;STRONG&gt;open&lt;/STRONG&gt; and a &lt;STRONG&gt;close&lt;/STRONG&gt; log?&lt;/P&gt;&lt;P&gt;That way I can check whether it's possible to build a workflow that fits your use case.&lt;/P&gt;&lt;P&gt;I believe this should be possible to implement entirely within a Dynatrace workflow.&lt;BR /&gt;In the workflow we could call Dynatrace api to close problems.&amp;nbsp;&lt;BR /&gt;The main challenge would be identifying a unique field that we can add to the problem when it's created and then use later to locate the same problem when it needs to be closed.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 14:36:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302558#M39337</guid>
      <dc:creator>dylan_taelemans</dc:creator>
      <dc:date>2026-07-29T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302568#M39338</link>
      <description>&lt;P&gt;That is my belief as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A bit sad since we are migrating from nimsoft which is an old tool and it has this functionality.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 14:32:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302568#M39338</guid>
      <dc:creator>tarjei</dc:creator>
      <dc:date>2026-07-29T14:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302570#M39339</link>
      <description>&lt;P&gt;What about using the Close Problems API?&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/problems-v2/problems/post-close" target="_blank"&gt;https://docs.dynatrace.com/docs/dynatrace-api/environment-api/problems-v2/problems/post-close&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 14:52:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302570#M39339</guid>
      <dc:creator>andreas_grabner</dc:creator>
      <dc:date>2026-07-29T14:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302574#M39340</link>
      <description>&lt;P&gt;Hi Andy!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, that is the solution I am going for. Workflow with this API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be nice if there was some other more native way, but not sure how feasible it is?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 15:42:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302574#M39340</guid>
      <dc:creator>tarjei</dc:creator>
      <dc:date>2026-07-29T15:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302593#M39341</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/12960"&gt;@tarjei&lt;/a&gt;&amp;nbsp;I'd not recommend using using the problems v2 api &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/146"&gt;@andreas_grabner&lt;/a&gt;&amp;nbsp;suggested - first of all, it's classic api and likely will be deprecated sooner or later. There is a simple solution:&lt;BR /&gt;For log events which should open a problem, create a davis event with &lt;SPAN&gt;dt.davis.timeout set to maximum value (360 minutes). For log events which close the problem, create the same davis event event with dt.davis.timeout set to 1 (1 minute), so problem will be closed after one minute.&lt;BR /&gt;&lt;BR /&gt;The challenge is to keep the problem open if the timeout is exceeded - which can be accomplished by a workflow (I only did this on Managed where you need to do it externally) - query such events (preferably add some event property) and just "resend" them.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2026 20:48:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302593#M39341</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2026-07-29T20:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302606#M39342</link>
      <description>&lt;P&gt;This sounds like a great suggestion with less required maintenance. Do you know how I ensure that the closing event and the opening event "hit" are considered the same one?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 07:20:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302606#M39342</guid>
      <dc:creator>tarjei</dc:creator>
      <dc:date>2026-07-30T07:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302607#M39343</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it going to consume license? It means, for scanning log patterns which close the problem.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2026 10:08:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302607#M39343</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-07-30T10:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302689#M39344</link>
      <description>&lt;P&gt;I have created an RFE here:&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Ideas/RFE-Create-the-possibility-for-a-log-event-pattern-for-OPEN-and/idi-p/302687#M58461" target="_blank"&gt;RFE: Create the possibility for a log event / pattern for OPEN and a different one for CLOSE - Community Home&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/146"&gt;@andreas_grabner&lt;/a&gt;&amp;nbsp;any thoughts on the difficulty of implementing such functionality?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 11:52:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302689#M39344</guid>
      <dc:creator>tarjei</dc:creator>
      <dc:date>2026-07-31T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Log entry for open and close problem</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302695#M39345</link>
      <description>&lt;P&gt;I am not in Product Engineering - so - I cant comment on how long this would take. Lets see what the reaction is on the RFE Ticket. In the meantime I hope you got some hints here in the thread on how to move forward&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2026 13:19:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Log-entry-for-open-and-close-problem/m-p/302695#M39345</guid>
      <dc:creator>andreas_grabner</dc:creator>
      <dc:date>2026-07-31T13:19:41Z</dc:date>
    </item>
  </channel>
</rss>

