# Missing option in Davis APP

**URL:** <https://community.dynatrace.com/t/missing-option-in-davis-app/50680>\
**Category:** Alerting\
**Tags:** problem-detection, davis, anomaly-detection, problems\
**Created:** [March 12, 2025, 1:01pm UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680 "2025-03-12T13:01:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [March 12, 2025, 1:01pm UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/1 "2025-03-12T13:01:39Z")

</div>

Hello,

In the classic anomaly detection for metrics, I have below config options:

![henk_stobbe_0-1741784408343.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/f1547387a606034a144ca30726b8ed80325eaa1e.png)

So I am able to add a Management zone, and this works perfect. It seems I am missing this option in the Davis APP?

KR Henk

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [March 13, 2025, 12:30am UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/2 "2025-03-13T00:30:38Z")

</div>

[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;Can you please try filtering in the query and see if this helps ?

example -

```markup
timeseries avg(dt.host.cpu.usage), by:{dt.entity.host}
| lookup [ 
      fetch dt.entity.host
      | expand managementZones
    ], sourceField:dt.entity.host, lookupField:id, prefix:"mzone."
| filter mzone.managementZones == "pdev-app-mgmtzn-1"

```

 ![p_devulapalli_0-1741825595712.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/19bd389d22142085cbe236f4f0bbd9cbc1575bd8.png)

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [March 13, 2025, 12:15pm UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/3 "2025-03-13T12:15:58Z")

</div>

Hello Phani,

Thanks for your reply, but look at below:

 ![henk_stobbe_0-1741868080058.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/6/f609ebd72839cd5ea1ec2073c2cf4021ffaa3efa.png)

It ends up in “Environment” not in the MZ,

KR Henk

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [March 14, 2025, 1:14am UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/4 "2025-03-14T01:14:38Z")

</div>

Hi&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)

I assume you are trying to create a AD that gets applied to hosts in a particular MZ? If yes , the above query would work.

To make sure correct details shows up in the problem ..please update the event template

example -

 ![p_devulapalli_0-1741914625186.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/5/d5b32e14069b9a7aece7972c1bf0dc3d8c441c77.png)

this would show more meaningful information in the problem created

Hope this helps

 ![p_devulapalli_1-1741914705856.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/1/b150da32398bf07608ab26409646dc98a60b908d.png)

 ![p_devulapalli_2-1741914775628.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/c/8c6631a51df937e475e456be3881660b1c094edd.png)

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [March 15, 2025, 10:46am UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/5 "2025-03-15T10:46:03Z")

</div>

Hello Phani,

Still working on this one, difference for me, I am using a custom metric and that complicates things…

KR Henk

---

<div class="post-metadata">

**Author:** ![Gosia\_Murawska](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@Gosia\_Murawska](https://community.dynatrace.com/u/Gosia_Murawska)\
**Post date:** [May 23, 2025, 7:27am UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/6 "2025-05-23T07:27:26Z")

</div>

So&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427), did you find a solution for this one? 🙂

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [May 23, 2025, 9:11am UTC](https://community.dynatrace.com/t/missing-option-in-davis-app/50680/7 "2025-05-23T09:11:26Z")

</div>

Good Morning Gosia,

(simple) It seems a custom (log) metric can not be part of a dynatrace entity, so a problem wil always be booked on the environment. As documented

KR Henk
