diff --git a/packages/server/src/utils/access-log/utils.ts b/packages/server/src/utils/access-log/utils.ts index 9e9070b69..b9b4fd879 100644 --- a/packages/server/src/utils/access-log/utils.ts +++ b/packages/server/src/utils/access-log/utils.ts @@ -27,6 +27,10 @@ export function processLogs( if (log.ServiceName === "dokploy-service-app@file") { return null; } + // Exclude Dashboard requests - they start with /dashboard + if (log.RequestPath?.startsWith("/dashboard")) { + return null; + } const date = new Date(log.StartUTC); if (dateRange?.start || dateRange?.end) { @@ -97,6 +101,10 @@ export function parseRawConfig( } }) .compact() + .filter((log) => { + // Exclude Dashboard requests - they start with /dashboard + return !log.RequestPath?.startsWith("/dashboard"); + }) .value(); // Apply date range filter if provided diff --git a/packages/server/src/utils/traefik/application.ts b/packages/server/src/utils/traefik/application.ts index b18161c76..80f7c1476 100644 --- a/packages/server/src/utils/traefik/application.ts +++ b/packages/server/src/utils/traefik/application.ts @@ -162,7 +162,11 @@ export const readMonitoringConfig = async (readAll = false) => { trimmed.endsWith("}") ) { const log = JSON.parse(trimmed); - if (log.ServiceName !== "dokploy-service-app@file") { + // Exclude Dokploy service app and Dashboard requests + if ( + log.ServiceName !== "dokploy-service-app@file" && + !log.RequestPath?.startsWith("/dashboard") + ) { content += `${line}\n`; validCount++; if (validCount >= 500) {