# Declare Problem based on Log Entry

**URL:** <https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098>\
**Category:** Alerting\
**Tags:** problem-detection, problem-notification\
**Created:** [July 13, 2021, 4:51pm UTC](https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098 "2021-07-13T16:51:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![csejourne](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@csejourne](https://community.dynatrace.com/u/csejourne)\
**Post date:** [July 13, 2021, 4:51pm UTC](https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098/1 "2021-07-13T16:51:37Z")

</div>

Hi,

I’m searching how to create/declare a problem based on error msg on log file.

the topic is to create a distinct problem for each distinct error msg

because each error may have a different RCA.

Have you a idea to realize it ?

Thank’s

---

<div class="post-metadata">

**Author:** ![Karolina\_Linda](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolina_linda/32/36089_2.png) [@Karolina\_Linda](https://community.dynatrace.com/u/Karolina_Linda)\
**Post date:** [July 13, 2021, 6:54pm UTC](https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098/2 "2021-07-13T18:54:26Z")

</div>

Hello and welcome,&nbsp;[@csejourne](https://community.dynatrace.com/user/43312)!

I hope we’ll have some great experts in the Alerting forum to help you out with your question.

Enjoy the Dynatrace Community!

Karolina

---

<div class="post-metadata">

**Author:** ![paul\_ingle](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@paul\_ingle](https://community.dynatrace.com/u/paul_ingle)\
**Post date:** [September 3, 2021, 1:06pm UTC](https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098/3 "2021-09-03T13:06:51Z")

</div>

Hello,

This should help explain step-by-step how to accomplish that -&nbsp;[Log metrics (Logs Classic) — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/log-monitoring-custom-metric#anchor-create-metric)

Thanks,

Paul

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [September 3, 2021, 7:01pm UTC](https://community.dynatrace.com/t/declare-problem-based-on-log-entry/32098/4 "2021-09-03T19:01:06Z")

</div>

As&nbsp;[@paul\_ingle](https://community.dynatrace.com/user/30682)&nbsp;has provided with the link, it’s quite simple to create alerts based off of log contents! Let us know if you need any assistance.
