dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

filter by name not actually filtering by name

Open Bajahaw opened this issue 7 months ago • 1 comments

To Reproduce

got to requests tab

Current vs. Expected behavior

filter by name is filtering by path instead of hostname

Provide environment information

OS: Debian 
Dokploy: v0.29

Which area(s) are affected? (Select all that apply)

Application

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

Image

Will you send a PR to fix it?

Maybe, need help

Bajahaw avatar Apr 18 '26 21:04 Bajahaw

Good catch! The bug is in the parseRawConfig function — the search filter matches against log.RequestPath instead of the hostname [1]:

if (search) {
    parsedLogs = parsedLogs.filter((log) =>
        log.RequestPath.toLowerCase().includes(search.toLowerCase()),
    );
}

The UI input is labeled "Filter by name..." [2], which users naturally interpret as filtering by hostname, but the backend filters by request path instead.

To fix this, log.RequestPath should be replaced with the appropriate hostname field from the Traefik access log structure (or the filter could match against both hostname and path for a more flexible search).

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about dokploy Share Dosu with your team

dosubot[bot] avatar Apr 18 '26 21:04 dosubot[bot]