# OneAgent : Exclude some URIs from Errors

**URL:** <https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953>\
**Category:** Open Q&A\
**Tags:** oneagent, problems-classic\
**Created:** [December 2, 2020, 1:54pm UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953 "2020-12-02T13:54:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 2, 2020, 1:54pm UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953/1 "2020-12-02T13:54:20Z")

</div>

Hello all,

I want to exclude some URIs with http code (401, 402, 403 and 404) from errors.

We did this on AppMon, but on OneAgent it’s hard to find the way.

thank you for your help

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [December 2, 2020, 2:43pm UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953/2 "2020-12-02T14:43:42Z")

</div>

You can do something along these lines but there’s a few steps:

First, you need to break out those requests from the ones that are not failing through a request naming rule. You could decide what makes the most sense but the goal is to break these requests out into a separate request when your conditions (url and error codes) are met.

 ![27477-1606920136917.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/5/d590ae2b761f6b6b3816d70f9fa6b3c21723ba26.png)

After this as these requests come in they will end up in this new named request. You can then mute this request and it will be excluded from error rates and alerting etc…

> **[Dynatrace Blog](https://www.dynatrace.com/news/blog/)**
>
> Stay updated on the latest news on observability, automation, AI, and app security. Look here for actionable insights for optimizing your digital ecosystem.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 3, 2020, 10:28am UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953/3 "2020-12-03T10:28:04Z")

</div>

Hello [@James K.](https://answers.dynatrace.com/users/3513/view.html)

The option ‘mute’ not exist and nothing in the documentation.

Your blog si since 2016.

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [December 3, 2020, 2:42pm UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953/4 "2020-12-03T14:42:24Z")

</div>

The blog is old but the info is still relevant/up to date. Nothing has changed for this feature since then:

 ![27518-1607006539714.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/276fed6466bf30bef07cf1281543529aa4feb2fb.png)

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [December 10, 2020, 12:36pm UTC](https://community.dynatrace.com/t/oneagent-exclude-some-uris-from-errors/20953/5 "2020-12-10T12:36:21Z")

</div>

Thank you for your feedback.

When I create the naming rule, the new one will be created as a request with the defined name ?
