Go Back

Reprocessing all websites, dates, and periods after the initial import of logs

January 29, 2018

Reprocessing all websites, dates, and periods after the initial import of logs*

*Please note that the information in this section DOES NOT APPLY to Piwik PRO Cloud, only to the On-Premises self-hosted Piwik PRO web analytics stack.

Your first run of Log Analytics will potentially import a very large amount of historical data, even months or years worth.
After this first process is completed, run this command to archive all historical reporting data:

./console core:archive --force-all-websites --force-all-periods=31557600 --force-date-last-n=1000 --url=http://example.piwik

Next, place the following command into a cron to process archives of logs imported at hourly or daily intervals:

./console core:archive --url=http://example/piwik/

If you are planning to process a very large volume of initial data in your first run, please contact us at support@piwik.pro for help.