I am running piwik 2.04-b1.
I made some test importing apache log file for our static web server and I use the import in the following way from a shell script
/usr/bin/python /var/www/html/piwik/misc/log-analytics/import_logs.py --debug --url=https://w3stat.unil.ch/piwik/ /var/tmp/stats/$server/access --idsite=xxx --config=/var/www/html/piwik/config/config.ini.php --recorders=2 --log-hostname=www2.unil.ch --hostname=www2.unil.ch --enable-static --enable-bots --enable-http-errors --enable-http-redirects --enable-reverse-dns --strip-query-string --output=/var/log/piwik/prod.out 2>&1
I find some strange results.. For example for a specific url , I get
/ci/situnil/img/vd_blue.gif 26 unique downloads 26 downloads.
However using a simple shell command on the logfile used to import data from such as :
grep "ci/situnil/img/vd_blue.gif" /var/tmp/stats/prod/access_full | wc -l
1698
How can you explain such a difference ?? I am not sure to really understand the meaning of pageview in piwik. I expected it would correspond to the number of lines with this entry "GET ci/situnil/img/vd_blue.gif" in the logfile ??
I am really confused ..
I have the same remark for some specific page and not download.
Any help is welcome
Best regards
I made some test importing apache log file for our static web server and I use the import in the following way from a shell script
/usr/bin/python /var/www/html/piwik/misc/log-analytics/import_logs.py --debug --url=https://w3stat.unil.ch/piwik/ /var/tmp/stats/$server/access --idsite=xxx --config=/var/www/html/piwik/config/config.ini.php --recorders=2 --log-hostname=www2.unil.ch --hostname=www2.unil.ch --enable-static --enable-bots --enable-http-errors --enable-http-redirects --enable-reverse-dns --strip-query-string --output=/var/log/piwik/prod.out 2>&1
I find some strange results.. For example for a specific url , I get
/ci/situnil/img/vd_blue.gif 26 unique downloads 26 downloads.
However using a simple shell command on the logfile used to import data from such as :
grep "ci/situnil/img/vd_blue.gif" /var/tmp/stats/prod/access_full | wc -l
1698
How can you explain such a difference ?? I am not sure to really understand the meaning of pageview in piwik. I expected it would correspond to the number of lines with this entry "GET ci/situnil/img/vd_blue.gif" in the logfile ??
I am really confused ..
I have the same remark for some specific page and not download.
Any help is welcome
Best regards