diff --git a/stats/.gitignore b/stats/.gitignore new file mode 100644 index 0000000..3fec32c --- /dev/null +++ b/stats/.gitignore @@ -0,0 +1 @@ +tmp/ diff --git a/stats/s.sh b/stats/s.sh new file mode 100755 index 0000000..012bd58 --- /dev/null +++ b/stats/s.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +rm -rf tmp +mkdir tmp +scp root@128.140.64.118:"/var/log/nginx/access.log*" ./tmp/ +zcat -f ./tmp/access.log* | goaccess --log-format=COMBINED