diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-08-11 10:19:23 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2022-08-11 10:19:23 +0200 |
commit | d0e7c31dc69f320c724f7d3c081639962e3b7ab6 (patch) | |
tree | e55e48cb2860d5492c1ba24952c7256da8f76d89 /wiki/webstats.md | |
parent | 15fe2d6a451d42c11941abfc8db931a4cb100530 (diff) |
new file; update mailmanmain
Diffstat (limited to 'wiki/webstats.md')
-rw-r--r-- | wiki/webstats.md | 13 |
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 - +``` |