# Filter out domain patterns from results

**URL:** <https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475>\
**Category:** Duplicate\
**Created:** [January 26, 2019, 2:29am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475 "2019-01-26T02:29:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pepper\_chico](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/pepper_chico/32/6225_2.png) [@pepper\_chico](https://discourse.pi-hole.net/u/pepper_chico)\
**Post date:** [January 26, 2019, 2:29am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/1 "2019-01-26T02:29:07Z")

</div>

Hi, I just finished setting up Pi-hole on my home and all is great, except for one little detail, there are some specific domains that show up in result sets that I'd simply like them muted, because I know they'll be allowed/blocked too often, abnormally when compared to the rest, if I could simply toggle them out from result set it would be great.

For example,

- my Android phone in specific requests a lot profile.localytics.com (blocked), I just wished it out of my results to better view the rest.
- I'm making all my devices, including routers, go through Pi-hole, and they request a lot about a.root-servers.net (allowed), I just wished to filter it.

One possible implementation could be some kind of negative regex filter, both for the Dashboard and the Query Log tab, and that could be made permanent at user option (or not).

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [January 26, 2019, 2:36am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/2 "2019-01-26T02:36:23Z")

</div>

Have you seen the setting under "API settings" in the web interface? It will remove the domain from some of the stats.

---

<div class="post-metadata">

**Author:** ![pepper\_chico](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/pepper_chico/32/6225_2.png) [@pepper\_chico](https://discourse.pi-hole.net/u/pepper_chico)\
**Post date:** [January 26, 2019, 2:42am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/3 "2019-01-26T02:42:12Z")

</div>

Ah!, thanks, I didn't see that 😃

---

<div class="post-metadata">

**Author:** ![pepper\_chico](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/pepper_chico/32/6225_2.png) [@pepper\_chico](https://discourse.pi-hole.net/u/pepper_chico)\
**Post date:** [January 26, 2019, 2:47am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/4 "2019-01-26T02:47:37Z")

</div>

I still wished a negative regex filter in the Query Log tab though, and the "API settings" filter doesn't apply there.

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [January 26, 2019, 2:50am UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/5 "2019-01-26T02:50:49Z")

</div>

I plan on adding this to the new API, which is better able to support these kinds of features:

> <https://github.com/pi-hole/api/issues/93>
>
> Relevant SetupVars entries:
> \- \`API\_EXCLUDE\_DOMAINS\`
> \- \`API\_EXCLUDE\_CLIENTS\`

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [June 30, 2020, 1:15pm UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/6 "2020-06-30T13:15:50Z")

</div>

Closing as duplicate in favor of

> [@Option to ignore domains from appearing in the Query Log](https://discourse.pi-hole.net/t/option-to-ignore-domains-from-appearing-in-the-query-log/6319):
>
> Some services are polling several times in a minute. All these entries are showing up in the Query Log. There should be an option to hide or ignore/exclude domains from the Query Log viewer.

---

<div class="post-metadata">

**Author:** ![yubiuser](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/yubiuser/32/12100_2.png) [@yubiuser](https://discourse.pi-hole.net/u/yubiuser)\
**Post date:** [June 30, 2020, 1:15pm UTC](https://discourse.pi-hole.net/t/filter-out-domain-patterns-from-results/16475/7 "2020-06-30T13:15:53Z")

</div>

Closed on June 30, 2020, 1:15pm UTC


