# Assign Davis anomaly detector problem into management zone

**URL:** <https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230>\
**Category:** Alerting\
**Tags:** management-zones, problem-detection, anomaly-detection\
**Created:** [September 4, 2025, 11:06am UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230 "2025-09-04T11:06:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pablo2](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@Pablo2](https://community.dynatrace.com/u/Pablo2)\
**Post date:** [September 4, 2025, 11:06am UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/1 "2025-09-04T11:06:22Z")

</div>

I need to put a problem we generated in the Davis Anomaly Detector into a management zone. The problem is that the alert comes from a business event and does not recognise any entity as a problem. The environment appears, and then we cannot relate the entity to any MZ.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [September 4, 2025, 1:00pm UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/2 "2025-09-04T13:00:58Z")

</div>

Could you show us how is the alerting condition for this business event?

---

<div class="post-metadata">

**Author:** ![Pablo2](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@Pablo2](https://community.dynatrace.com/u/Pablo2)\
**Post date:** [September 4, 2025, 1:20pm UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/3 "2025-09-04T13:20:24Z")

</div>

![Pablo2_0-1756991975745.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0b9e0dbff7fe8fb18c0845d429ef88bb30a467c4.png)

 ![Pablo2_1-1756992014866.png](https://global.discourse-cdn.com/dynatrace/original/2X/a/ab19f21210fe2dcb35377a03548934bf93b3b813.png)

---

<div class="post-metadata">

**Author:** ![shubham1413](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@shubham1413](https://community.dynatrace.com/u/shubham1413)\
**Post date:** [December 7, 2025, 4:57am UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/4 "2025-12-07T04:57:42Z")

</div>

Hi [@Pablo2](https://community.dynatrace.com/user/82530)&nbsp;, can you confirm if this issue is resolved? If it is resolved, could you please provide the solution and explain how you configured sending problems for a specific MZ?

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [December 9, 2025, 3:48am UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/5 "2025-12-09T03:48:50Z")

</div>

Hello [@Pablo2](https://community.dynatrace.com/user/82530),

You can assign Davis anomaly detector problems to a Management Zone only if the event is tied to a valid entity that belongs to that zone. Business events without entity context won’t map to any MZ.  
Management Zones in Dynatrace are entity-based. They filter problems based on the entities involved (hosts, services, process groups, etc.). If your business event doesn’t reference a valid entity, Dynatrace can’t associate the resulting problem with any MZ — even if the environment is visible.

In your event template, the dt.source\_entity is set to {dims:dt.source\_entity}. This works only if the metric or DQL query includes a valid entity dimension.

To ensure the problem appears in a Management Zone:Use a dimension like {dims:dt.entity.process\_group\_instance} or {dims:dt.entity.service} depending on your metric scope. Check that the entity referenced in dt.source\_entity is tagged or scoped into the MZ you want, you can use autotagging rules to ensure consistent MZ inclusion.

Thanks,

Tijust

---

<div class="post-metadata">

**Author:** ![Maheedhar\_T](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maheedhar_t/32/155_2.png) [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Post date:** [December 9, 2025, 5:45am UTC](https://community.dynatrace.com/t/assign-davis-anomaly-detector-problem-into-management-zone/53230/6 "2025-12-09T05:45:00Z")

</div>

Hi&nbsp;[@Pablo2](https://community.dynatrace.com/user/82530)&nbsp;,  
What you can do in this case is create a Custom Device (Name it as \<Application Z- Your Application Name Here\> or tag with your application name) and when an error occurs in your bizevent case, tie this to the Custom Device that’s created using dt.source\_entity property.  
In the snippet you shared it’s the first property. In the value you can remove {dims:dt.source\_entity} and give the Custom Device ID that you created.  
Then in the management Zones, add a rule that Custom Device with Tag \<Application Z\> belongs to this management zone.

Regards,  
[@Maheedhar\_T](https://community.dynatrace.com/user/76275)
