# When will the problem opened in Detection rules for custom log events close

**URL:** <https://community.dynatrace.com/t/when-will-the-problem-opened-in-detection-rules-for-custom-log-events-close/31940>\
**Category:** Alerting\
**Tags:** problem-detection, log-monitoring-class\
**Created:** [June 28, 2021, 9:00am UTC](https://community.dynatrace.com/t/when-will-the-problem-opened-in-detection-rules-for-custom-log-events-close/31940 "2021-06-28T09:00:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 28, 2021, 9:00am UTC](https://community.dynatrace.com/t/when-will-the-problem-opened-in-detection-rules-for-custom-log-events-close/31940/1 "2021-06-28T09:00:42Z")

</div>

Hi.

We monitor the log file output by the application and define that the Problem will be opened when the keyword “ERROR” is output to the log file. When will this opened Problem be closed?

---

<div class="post-metadata">

**Author:** ![Mo\_Azuz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mo_azuz/32/5921_2.png) [@Mo\_Azuz](https://community.dynatrace.com/u/Mo_Azuz)\
**Post date:** [June 28, 2021, 8:39pm UTC](https://community.dynatrace.com/t/when-will-the-problem-opened-in-detection-rules-for-custom-log-events-close/31940/2 "2021-06-28T20:39:52Z")

</div>

Hi tshirai,

It should close based on the threshold/condition that’s been set when the custom event was created. You can also close the problem manually, by going into the problem’s page and click on the top right corner button “Close Problem”.

 ![Moe_0-1624912447767.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/e/8e5f3999e47e39355da90966eb2e2054ce1dee49.png)

 ![Moe_1-1624912684017.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5bea4f51fb2d27d131483b3050164653b3955e80.png)

Regards,

Moe

---

<div class="post-metadata">

**Author:** ![Shirai](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/shirai/32/27711_2.png) [@Shirai](https://community.dynatrace.com/u/Shirai)\
**Post date:** [June 29, 2021, 10:06am UTC](https://community.dynatrace.com/t/when-will-the-problem-opened-in-detection-rules-for-custom-log-events-close/31940/3 "2021-06-29T10:06:19Z")

</div>

Hi Moe.

Thank you for your comment.

We tested in an internal environment. The Problem was closed 5 minutes after the keyword “ERROR” was detected.

 ![tshirai_0-1624960991861.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e74dcf831229c498d58d18bfee78ff448023a334.png)

Regards,

T.Shirai.
