CRON DATA IMPORT - Always gets pageviews wrong. CRITICAL


#1

I have spent quite a number of hours testing with piwik on a pre production enterprise testing environment. I have found what I believe are critical bugs as follows:

a.) The PAGEVIEWS getting parsed are completely off from the real amount of entires as per below when using a CRON to import data.

cat access.log | wc -l = 310

Now I run:

python /usr/share/nginx/html/piwik/misc/log-analytics/import_logs.py --url=http://172.62.60.122/piwik/ /var/log/nginx/-access.log --recorders=4 --enable-http-errors --enable-http-redirects --enable-static --enable-bots --idsite=2 >> /home/piwik-import.log

php /usr/share/nginx/html/piwik/console core:archive --url=http://172.62.60.122/piwik/ > /home/piwik-archive.log

Website import summary

309 requests imported to 1 sites
    1 sites already existed
    0 sites were created:

0 distinct hostnames did not match any existing site:

Performance summary

Total time: 2 seconds
Requests imported per second: 134.05 requests per second

Up to this point all is well, the wrong part is that the amount of pageviews updatedin the website is only +61 , instead of the actual 309 ! Major difference !!!

What could be wrong?


(Matthieu Aubry) #2

Check in Visitors > Overview in Piwik, maybe there are other actions tracked (site search, downloads, etc.)