Problem with apache old log and date

Hi !

I try to import old stats from a apache web server into piwik tools. ( piwik v 2.14.3 )
I used : to import old log but the problem is that it import log today and not the day of the apache log …

This is the command à used to import my log :slight_smile:

Import from old apache log file :

python /usr/share/piwik/misc/log-analytics/ --url=https://piwik.exemple.test/piwik --idsite=285 --login=some_site --password=xxxxxxxx --enable-http-redirects --enable-static --recorders=3 /var/log/import_log/some_site/20170228-access.log.gz

Then :

/usr/share/piwik/console core:archive --force-idsites=285 --force-all-periods=315576000 --force-date-last-n=1000 --url=https://piwik.exemple.test/piwik

But the stats is import today, the day that i actually launch the import not the day of the apache log.

Anyone have already show this problem ?
Thanks :slight_smile: