summaryrefslogtreecommitdiff
path: root/wiki/webstats.md
diff options
context:
space:
mode:
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 -
+```