From bb4fc70ee005727bd992fd48ce9e1d775e6b1c91 Mon Sep 17 00:00:00 2001 From: santacruz-usa Date: Thu, 23 Jul 2026 02:18:39 -0500 Subject: [PATCH] Update index.php Modified call to goaccess: instead of sending the entire log content to goaccess via stdin, let goaccess process the log file directly. Signed-off-by: santacruz-usa --- root/dashboard/www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/dashboard/www/index.php b/root/dashboard/www/index.php index a058e3cf9..582924379 100644 --- a/root/dashboard/www/index.php +++ b/root/dashboard/www/index.php @@ -291,7 +291,7 @@ function GetGoaccess() { endif; $access_log = file_exists("/dashboard/logs") ? "/dashboard/logs/*.log" : "/config/log/nginx/access.log"; - $goaccess = shell_exec("cat $access_log | /usr/bin/goaccess -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb -"); + $goaccess = shell_exec("/usr/bin/goaccess $access_log -a -o html --config-file=/dashboard/goaccess.conf $geodb $asndb"); $goaccess = str_replace("
", "