# Where I can check my custom events created from anomaly detection  using dql over logs data

**URL:** <https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331>\
**Category:** Alerting\
**Tags:** dql, grail, anomaly-detection, events\
**Created:** [March 23, 2026, 4:53pm UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331 "2026-03-23T16:53:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [March 23, 2026, 4:53pm UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/1 "2026-03-23T16:53:00Z")

</div>

Hi,  
I&nbsp; have created anomaly detection to capture specific error from the logs.In that I have defined dql that get timeseries data for the error occurrence for particular k8s application. Statis threshold is defined.

In the anomaly list , status shows “success”. I verified target error has occurred , seen in the logs as well.But somehow&nbsp; I am not able to see my custom event in in grail-\> events.

Can somebody please help me **to find all the custom events in grail which are related to all the Anomaly detection**.

Note - My final goal is to trigger workflow if custom events occurs.

Any help will be appreciated.

Regards,  
Heramb Sawant

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [March 23, 2026, 5:31pm UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/2 "2026-03-23T17:31:08Z")

</div>

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 24, 2026, 7:59am UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/3 "2026-03-24T07:59:15Z")

</div>

Hi,

Maybe you can check [System event models](https://docs.dynatrace.com/docs/shortlink/semantic-dictionary-system-event-models).

Best regards

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 24, 2026, 10:27am UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/4 "2026-03-24T10:27:13Z")

</div>

Hi,  
dt.system.events will usually not show the actual custom event raised by anomaly detection. That bucket is mainly for detector execution/status information, such as ANOMALY\_DETECTOR\_STATUS\_EVENT and ANALYZER\_EXECUTION\_EVENT—for example, whether the detector ran successfully, timed out, or produced warnings  
If the anomaly detection configuration really raised an alert, I’d look for it in Davis events, for example:

```markup
fetch events, from: now()-24h
| filter event.kind == "DAVIS_EVENT"
| sort timestamp desc

```

 ![events.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/a/a/aa68c8e2ebfca5db77e7a8413c359e29768ff6c0.jpeg)

and then narrow it down using your event template fields / event name if available. Dynatrace treats events from custom alerts as Davis events, which can then be correlated into Problems

So I’d separate it like this:

- dt.system.events → anomaly detector execution health/status
- events / Davis events → actual alert events raised by the detector
- Problems → correlated incidents created from those events

[System event models](https://docs.dynatrace.com/docs/semantic-dictionary/model/dt-system-events)&nbsp;  
For example, if you want to see the related active problems created from custom alerts:

```markup
fetch dt.davis.problems, from: now()-24h
| filter event.status == "ACTIVE"
| filter event.category == "CUSTOM_ALERT"
| fields timestamp, display_id, event.name, event.description, event.category, event.status, affected_entity_ids
| sort timestamp desc

```

 ![custom_alert.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/9/4/94256b5c23bd809e4380dc4e866fb181e0c4caf6.jpeg)

So if your final goal is to trigger a workflow, I’d first verify whether the anomaly detector is producing a `CUSTOM_ALERT` Davis event, and then decide whether to trigger on the event itself or on the correlated problem.

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [March 25, 2026, 7:29am UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/5 "2026-03-25T07:29:34Z")

</div>

Thanks&nbsp;[t\_pawlak](https://community.dynatrace.com/user/42367), you shared very useful information and thanks to&nbsp;[AntonPineiro](https://community.dynatrace.com/user/58682)

I referred&nbsp;[System event models](https://docs.dynatrace.com/docs/shortlink/semantic-dictionary-system-event-models?_gl=1*16s8234*_ga*MTM0ODUxMDI3My4xNzU5MzAxNzUw*_ga_1MEMV02JXV*czE3NzQ0MjEzMjYkbzY5JGcxJHQxNzc0NDIyMDE0JGo2MCRsMCRoMA..*_gcl_au*MTQxODMzOTMyNy4xNzY5NjY3MDAz). ,&nbsp; checked&nbsp; below DQL, and found my task is failed with reason “ **The task was disabled by the service operator to maintain system stability. Contact support if the task keeps failing**.”

fetch dt.system.events, from:now()-24h  
| filter event.kind == “ANALYZER\_EXECUTION\_EVENT”

what you will suggest&nbsp; on this?? How it can be enabled.

Note - DQL defined in anomaly detection is&nbsp; pulling timeseries data capturing specific 4xx error.

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [March 26, 2026, 7:37am UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/6 "2026-03-26T07:37:43Z")

</div>

Any inputs ??

---

<div class="post-metadata">

**Author:** ![heramb\_sawant](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@heramb\_sawant](https://community.dynatrace.com/u/heramb_sawant)\
**Post date:** [March 26, 2026, 3:47pm UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/7 "2026-03-26T15:47:53Z")

</div>

any further help will be appreciated

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [March 26, 2026, 4:11pm UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/8 "2026-03-26T16:11:47Z")

</div>

Hi,

I tested the same DQL on my side:

fetch dt.system.events, from:now()-24h  
| filter event.kind == “ANALYZER\_EXECUTION\_EVENT”

and the query itself works, so this does not look like a DQL syntax issue.

 ![ab.jpg](https://global.discourse-cdn.com/dynatrace/original/2X/b/b39dc48f740be2d3b4285e8510189f636ddc004a.jpeg)

Based on the error message:

“The task was disabled by the service operator to maintain system stability. Contact support if the task keeps failing.”

it looks like the specific anomaly detection task was automatically disabled by Dynatrace safeguards, most likely because the detector execution was considered too expensive or unstable.

So I would suggest review the anomaly detector query and try to reduce its cost, like&nbsp;narrow the timeframe, or use some filters. Make it less expensive.&nbsp;  
And if the issue continues, opening a Dynatrace Support case, because the message suggests a service-side safeguard.

---

<div class="post-metadata">

**Author:** ![sonja](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/sonja/32/10349_2.png) [@sonja](https://community.dynatrace.com/u/sonja)\
**Post date:** [March 27, 2026, 7:44am UTC](https://community.dynatrace.com/t/where-i-can-check-my-custom-events-created-from-anomaly-detection-using-dql-over-logs-data/55331/9 "2026-03-27T07:44:03Z")

</div>

hi! in addition to all the useful comments, I wanted to share this new page in the documentation that helps better understand how everything fit together:&nbsp;[Alerting and notifications — Dynatrace Docs](https://docs.dynatrace.com/docs/analyze-explore-automate/alerting-and-notifications)&nbsp;including this graphic.

I hope this helps,  
Sonja

 ![20260316-workflows-problems-2645-abca3e7823](https://global.discourse-cdn.com/dynatrace/original/3X/2/6/26864d826227f5e9c4063f50367f7396fec41cb1.png)
