# Get Dynatrace Alerts reading them from LOG File

**URL:** <https://community.dynatrace.com/t/get-dynatrace-alerts-reading-them-from-log-file/9713>\
**Category:** Alerting\
**Tags:** problems-classic\
**Created:** [December 11, 2017, 2:35pm UTC](https://community.dynatrace.com/t/get-dynatrace-alerts-reading-them-from-log-file/9713 "2017-12-11T14:35:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davide\_diana2](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/davide_diana2/32/11751_2.png) [@davide\_diana2](https://community.dynatrace.com/u/davide_diana2)\
**Post date:** [December 11, 2017, 2:35pm UTC](https://community.dynatrace.com/t/get-dynatrace-alerts-reading-them-from-log-file/9713/1 "2017-12-11T14:35:22Z")

</div>

Hello,

is Dynatrace writing a LOG containing all the Problems raised by the product? It would be good as way to get the notification about new problems instead of using active notification (Read this log instead of configure the product to send an e-mail or a custom notification).

Thanks,

---

<div class="post-metadata">

**Author:** ![kristof\_renders](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kristof_renders/32/19857_2.png) [@kristof\_renders](https://community.dynatrace.com/u/kristof_renders)\
**Post date:** [December 11, 2017, 3:08pm UTC](https://community.dynatrace.com/t/get-dynatrace-alerts-reading-them-from-log-file/9713/2 "2017-12-11T15:08:53Z")

</div>

Hi Davide,

You could use the problems API to get a list of all the problems.

Much more dynamic than reading from a file, plus you can add filters.

> **[Problems API v2 - GET problems list](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/problems-v2/problems/get-problems-list)**
>
> Fetch the list of problems via Problems v2 API.

Hope that helps.

KR,  
Kristof
