I am in the process of switching my site analytics from GA to Piwik and would like to incorporate all the historic data that I can. I have already concatenated the full trail of apache log files I have in my possession. However, what I do next is not at all clear to me and the Piwik documentation does not help. It says something along the lines of
/path/to/piwik/misc/log-analytics/import_logs.py --url=http://analytics.example.com access.log
in my condition i have tried this one
python C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\piwik\misc\log-analytics\import_logs.py --url=http://localhost/piwik/ /C:\Program Files (x86)\Apache Software Foundation\Apache2.2\logs\access.log --idsite=1 --enable-http-redirects --enable-http-errors --enable-bots --enable-static --recorder-max-payload-size=300
but that throws up an error message. When I provide the URL to the site in question too I get an error saying that it gets back an HTML document (naturally) which it does not like. I’d be most grateful to anyone who might be able to put me on the right track here.