From db6507ea7deb6043c2d4fef50e1102e8609ba08e Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Thu, 12 Dec 2024 21:52:52 -0500 Subject: Filter Caddy journal output to fix GoAccess errors --- content/posts/site-analytics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/site-analytics.md b/content/posts/site-analytics.md index 37a6e32..7a28416 100644 --- a/content/posts/site-analytics.md +++ b/content/posts/site-analytics.md @@ -73,4 +73,4 @@ That produced the following output: All those US visitors are probably just me. But I didn't know my site was so big in Hong Kong? Maybe because of VPNs? -2024-12-11 update: I switched to Caddy so I'm now using the command `journalctl -eu caddy --output cat --lines all | goaccess --log-format caddy`. +2024-12-11 update: I switched to Caddy so I'm now using the command `journalctl -u caddy --output cat --lines all -g http.log.access | goaccess --log-format caddy`. -- cgit v1.2.3-70-g09d2