blob: d9d1da4e21d397668300a55e60ed0fd7dabb5521 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Count the download for 'latest.zip' on the 20th March
# cat access.log | grep "20/Mar" | grep "latest.zip" | awk '{print $1}' | sort | uniq | wc -l
Value to be compared with the one given by Piwik in Actions > Downloads
Count the no of hits by referers, excluding piwik.org as a referer
# cat /var/log/apache2/access.log | awk '{print $11}' | grep -vE "(^"-"$|/dev.piwik.org|/piwik.org)" | sort | uniq -c | sort -rn | head -n20
Count the no of hits by referers
# cat /var/log/apache2/access.log | awk '{print $11}' | sort | uniq -c | sort -rn | head -n20
|