There are two ways of using the log-import:
1. Using raw access.log (without installing the JavaScript tracker)
2. Logging all calls to piwik.php (by installing the JavaScript tracker)
The second one is the one you want. You will want to use the --replay-tracking parameter (https://github.com/piwik/piwik/blob/master/misc/log-analytics/import_logs.py#L380)
1. Using raw access.log (without installing the JavaScript tracker)
2. Logging all calls to piwik.php (by installing the JavaScript tracker)
The second one is the one you want. You will want to use the --replay-tracking parameter (https://github.com/piwik/piwik/blob/master/misc/log-analytics/import_logs.py#L380)