Piwik Import Apache Server Monthly Access Logs

SSH into your server and type the following to import one log file into your Piwik tracked website:

python /home/username/public_html/piwik/misc/log-analytics/import_logs.py --idsite=1 --url=http://domain.com/piwik logs/domain.com-Jun-2015.gz

You can import different types of files including raw access log files as well as zipped log files.

Further reading: