diff options
Diffstat (limited to 'mirror-watch.sh')
-rwxr-xr-x | mirror-watch.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mirror-watch.sh b/mirror-watch.sh new file mode 100755 index 0000000..24f5e80 --- /dev/null +++ b/mirror-watch.sh @@ -0,0 +1,7 @@ +#!/bin/bash +LOG=/var/log/nginx/access.log +echo "=== Mirror Hits Report (last 24h) ===" +goaccess $LOG --log-format=COMBINED --date-spec=hr \ + --ignore-crawlers \ + --no-progress \ + -o - | awk 'NR>5 && NR<20' |