import_logs.py shows all 0 results HELP NEEDED


#1

0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
File access.log does not exist

Logs import summary

0 requests imported successfully
0 requests were downloads
0 requests ignored:
    0 invalid log lines
    0 requests done by bots, search engines, ...
    0 HTTP errors
    0 HTTP redirects
    0 requests to static resources (css, js, ...)
    0 requests did not match any known site
    0 requests did not match any requested hostname

Website import summary

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

0 distinct hostnames did not match any existing site:

Performance summary

Total time: 0 seconds
Requests imported per second: 0.0 requests per second

#2

File access.log does not exist

I would check that filename in your command


#3

Hey Alf Watt,
I was following the tutorial.
python /var/www/piwik/misc/log-analytics/import_logs.py --url=http://localhost:3000 access.log


#4

The import scripts needs the actual path to your log vile, not just ‘access.log’ (unless you are in your logs directory).

On my server the logs are in /var/log/apache2, but that will vary depending on what web server you have and where it’s configured to write logs to.