# How can we ignore alerts from automatic anomaly detection in OneAgent

**URL:** <https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567>\
**Category:** Alerting\
**Tags:** oneagent, problems-classic\
**Created:** [June 15, 2020, 8:19am UTC](https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567 "2020-06-15T08:19:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sumit\_patil](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@sumit\_patil](https://community.dynatrace.com/u/sumit_patil)\
**Post date:** [June 15, 2020, 8:19am UTC](https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567/1 "2020-06-15T08:19:55Z")

</div>

Hi All,

How can we ignore alerts from automatic anomaly detection.

Ex. :- For a particular service am getting alert when that service goes in failure for only 2-3 minutes. Which i don’t want. I want alert when particular service remain in failure for more than 7 minutes.

Is there any steps to achieve the same using automatic anomaly detection. Kindly share the same.

---

<div class="post-metadata">

**Author:** ![srinivas\_vaddin](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@srinivas\_vaddin](https://community.dynatrace.com/u/srinivas_vaddin)\
**Post date:** [June 15, 2020, 8:36am UTC](https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567/2 "2020-06-15T08:36:33Z")

</div>

[@Sumit P.](https://answers.dynatrace.com/users/37600/view.html) The service might be using the global anomaly detection rules. So you might need to Disable that setting for this particular service. you can do this by navigating to Transaction&services =\> Pick your service =\> Edit =\> Anomaly Detection and then change the value as below:

 ![25341-servicealerts.jpg](https://global.discourse-cdn.com/dynatrace/original/3X/d/6/d68764763096c67d04bfba65e17a96d5ba58cb06.jpeg)

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [June 19, 2020, 3:31pm UTC](https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567/3 "2020-06-19T15:31:05Z")

</div>

As [Srinivas V.](https://answers.dynatrace.com/users/22650/view.html) stated, you can change the AI Detection, but you will end up removing it from AI Detection and it be be based off of the manual/static data you provide. You can adjust the alert profile rules to not alert unless a problem is open for more then 7 mins.

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [June 26, 2020, 8:39pm UTC](https://community.dynatrace.com/t/how-can-we-ignore-alerts-from-automatic-anomaly-detection-in-oneagent/19567/4 "2020-06-26T20:39:32Z")

</div>

I would suggest adding a “lag” to the rule in the alerting profile for 7 minutes and also looking at making the anomaly detection rules less “stringent” for that service. I would not turn off alerting or replace baselines with static thresholds.

Adding a “lag”:

Settings \> Alerting \> Alerting profiles

Adjusting baseline sensitivity:

Transactions and services \> YOURSERVICE \> Settings \> Anomaly detection
