AdguardTeam / AdguardTeam/AdGuardHome

Top client duplicates (multiple IPs, ClientID)

Open
#7,516 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
36.9k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

### Prerequisites

- [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [X] I have searched other issues and found no duplicates

- [X] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [X] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, ARM64

### Installation

GitHub releases or script from README

### Setup

On one machine

### AdGuard Home version

0.107.55

### Action

Replace the following command with the one you're calling or a
description of the failing action:

```sh
N/A
```

### Expected result

Clients should be grouped in the stats according to their entry in 'Client settings'. For example, a client with the ClientID of `alice-laptop` and identifiers `172.16.0.12`, `2001::1` and `alice-laptop` should all display in 'Top clients' under one entry per the hostid/ClientID so it's possible to see that client's DNS queries for the specified period.

### Actual result

Clients are instead listed multiple times. For example:

````
alice-laptop (alice-laptop) 10,283
alice-laptop (172.16.0.12) 27,027
alice-laptop (2001::1) 73,927
````

Is there a way to fix this? With many users (each with multiple devices), local and public IP address subnets as well as the ClientID (eg as a suffix to an encrypted query) the stats are a mess and pretty meaningless.

### Additional information and/or screenshots

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.