Re: [Tails-l10n] Website statistics
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Tämä viesti kuuluu seuraavaan säikeeseen:
Näytä säikeen viestit aikajärjestyksessä
intrigeri
2015-05-02 08:12
sajolida
2015-05-18 15:17
Lähettäjä:
spriver
Päiväys:
2015-05-03 10:13
UTC
Vastaanottaja:
Tails localization discussion
Aihe:
Re: [Tails-l10n] Website statistics
Hi,
On 05/02/2015 10:12, intrigeri wrote:
> Thanks!
>
> I'm not sure I get what's the exact command you want us to run.
> Could you please send us *one* command that does all you need?
this should work (you need to modify the path to the log files) :
VIS=$(zcat /var/log/nginx/access.log.*.gz | visitors /dev/stdin -o
text | grep "Different pages" | awk '{print $5}') && zcat
/var/log/nginx/access.log.*.gz | visitors -p "$VIS" /dev/stdin -o text
> visitors.txt && zcat /var/log/nginx/access.log.*.gz | visitors -p
"$VIS" /dev/stdin -o html > visitors.html
It creates two files, a text file and a html page.
If it does not work, give me a notice.
Cheers!
spriver