summaryrefslogtreecommitdiff
path: root/wiki/webstats.md
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2022-08-11 10:19:23 +0200
committerLinus Nordberg <linus@nordberg.se>2022-08-11 10:19:23 +0200
commitd0e7c31dc69f320c724f7d3c081639962e3b7ab6 (patch)
treee55e48cb2860d5492c1ba24952c7256da8f76d89 /wiki/webstats.md
parent15fe2d6a451d42c11941abfc8db931a4cb100530 (diff)
new file; update mailmanmain
Diffstat (limited to 'wiki/webstats.md')
-rw-r--r--wiki/webstats.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/wiki/webstats.md b/wiki/webstats.md
new file mode 100644
index 0000000..89cc390
--- /dev/null
+++ b/wiki/webstats.md
@@ -0,0 +1,13 @@
+With access logs from listen.so.
+
+```
+sudo apt install goaccess
+mkdir db
+gzip -cdf access.log* | goaccess --log-format VCOMMON --persist --db-path db -o report.html -
+```
+
+To add more data to an existing db:
+
+```
+cat new-accesslog | goaccess --log-format VCOMMON --restore --persist --db-path db -o report.html -
+```