diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
| commit | 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch) | |
| tree | 3009f0564d75e3f7d1ca38507e7ebb92deaded07 /articles/2025/Using-Goaccess-to-view-web-stats.html | |
update
Diffstat (limited to 'articles/2025/Using-Goaccess-to-view-web-stats.html')
| -rwxr-xr-x | articles/2025/Using-Goaccess-to-view-web-stats.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/articles/2025/Using-Goaccess-to-view-web-stats.html b/articles/2025/Using-Goaccess-to-view-web-stats.html new file mode 100755 index 0000000..8312fa5 --- /dev/null +++ b/articles/2025/Using-Goaccess-to-view-web-stats.html @@ -0,0 +1,32 @@ +<!doctype html> +<html lang="EN"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href="/style.css"> + <title>Using Goaccess to view web stats</title> + </head> + <body> + <header> + <h1>Bloggings</h1> + <a href="/index.php">Back</a> + + </header> + +<main> +<article> +<h2>Using Goaccess to view web stats</h2> +<h3>2025-04-03</h3> +<h4>Using Goaccess locally</h4> +<p>I have goaccess installed on my laptop to view the web stats on a vps</p> +<p>First install Goaccess on Arch Linux</p> +<code>sudo pacman -S goaccess</code> +<p>View the remote stats (adjust the path for your actual log location)</p> +<code>ssh USER@SERVER 'zcat -f /var/log/nginx/access.log*' | goaccess -a --log-format=COMBINED</code> +<p>I've added an alias in my .bashrc :</p> +<code>alias stats="ssh USER@SERVER 'zcat -f /var/log/nginx/access.log*' | goaccess -a --log-format=COMBINED"</code> +</article> +</main> +<footer> +<p> </p><p>ยง</p></footer> +</body></html> |
