# DQL - BIZEVENT  alarming

**URL:** <https://community.dynatrace.com/t/dql-bizevent-alarming/43156>\
**Category:** DQL\
**Tags:** dql, dynatrace-managed, business-events, logs\
**Created:** [December 12, 2023, 1:44pm UTC](https://community.dynatrace.com/t/dql-bizevent-alarming/43156 "2023-12-12T13:44:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ellery](https://avatars.discourse-cdn.com/v4/letter/e/5e9695/32.png) [@Ellery](https://community.dynatrace.com/u/Ellery)\
**Post date:** [December 12, 2023, 1:44pm UTC](https://community.dynatrace.com/t/dql-bizevent-alarming/43156/1 "2023-12-12T13:44:59Z")

</div>

Hello, how is this great community doing? I have the following question: I have a chart created with bizevent, but I would like to have an alarm associated with the result of this. How can I do this?

 ![Ellery_0-1702388577096.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/a/da83ee6908dd292fc629683ed5868438f64e6222.png)

Why haven’t I been able to create this query as a metric to add it as “abnormal behavior”? Thank you very much in advance.

---

<div class="post-metadata">

**Author:** ![LawrenceBarratt](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lawrencebarratt/32/26634_2.png) [@LawrenceBarratt](https://community.dynatrace.com/u/LawrenceBarratt)\
**Post date:** [December 15, 2023, 1:02am UTC](https://community.dynatrace.com/t/dql-bizevent-alarming/43156/2 "2023-12-15T01:02:20Z")

</div>

Hi&nbsp;[@Ellery](https://community.dynatrace.com/user/65321)

If I’m reading this right, you want your BizEvents to generate alerts based on the occurrence of your specified DQL output.

If that is the case, you can make use of [BizEvent metric extraction .](https://docs.dynatrace.com/docs/platform-modules/business-analytics/ba-metric-extraction)

You can write your DQL which you can then measure the occurrence of that query or a particular attribute.

This new metric can then be associated to a custom alert with metric events 🙂

I hope this helps.

Thanks,

Lawrence

---

<div class="post-metadata">

**Author:** ![cesarsaravia](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/cesarsaravia/32/12818_2.png) [@cesarsaravia](https://community.dynatrace.com/u/cesarsaravia)\
**Post date:** [December 26, 2023, 10:55pm UTC](https://community.dynatrace.com/t/dql-bizevent-alarming/43156/3 "2023-12-26T22:55:29Z")

</div>

Hi&nbsp;[@Ellery](https://community.dynatrace.com/user/65321)&nbsp;  
What mentions&nbsp;[@LawrenceBarratt](https://community.dynatrace.com/user/47736)&nbsp;is correct, but there’s another feature you can use. Dynatrace Workflows could help with that without creating a metric, in this case you can trigger a workflow tasks when the conditions you need started… Also, you can send message to MS Teams or Slack channel collaboration.  
Reference:

- [Introduction to workflows - Dynatrace Docs](https://docs.dynatrace.com/docs/platform-modules/automations/workflows)
- [Dynatrace Tips & Tricks #20 - Automation Workflow Best Practices (youtube.com)](https://www.youtube.com/watch?v=xOFzaOzvUPE)

Best regards  
-Cesar S.
