I am in the process of switching from Google Analytics to Piwik and would like to import all historic data from my Apache log files. To that end I have concatenated all available logs and placed them in the import_logs folder with the filename historic.logs. However, what I do next is not at all clear. The Piwik documentation suggests something along the lines of
python /var/www/html/piwik/misc/log-analytics/import_logs.py --idsite=example.net --url=http://example.net historic.logs
This makes little sense to me. Why do I need a URL of any kind if I already have the logs available locally? What precisely is the site id?
I hope that someone here will be able to help.