Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Simplify Visitor Generator > Use piwik access logs #2458

mattab opened this Issue · 1 comment

1 participant


Code for the visitor generator is old and does not use the tracking API, instead it rebuilds tracking requests manually.

Instead, Visitor Generator should take a "Piwik access logs" (requests to piwik.php) from by default (but possible to put your own custom access logs) and it should replay this log file, for N days and playing it M times per day.

the other advantage is that this will be usable for API consumers who wish to "initiate" piwik DB with a fixed set of data and run their own tests on it (rather than the current "random" data sets).

Also, logs will be more "standard" and not use the many random strings etc.


(In [4841]) Fixes #2458 - Visitor Generator now based on a "piwik access log, combined format" that is replayed faking Time/IP/User Agent/Accept language header. The file can be swapped for any other log file containing requests to piwik.php

The current log file generates a little bit of ecommerce activity, as well as various pages & custom variables (based off log file)

@mattab mattab added this to the 1.5 - Piwik 1.5 milestone
@mattab mattab self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.