How to automate log imports


Good morning …

Just installed Piwik for a client running 8 or so domains. They want to utilize the log imports rather than jscript because there are too many pages to plug the code into. My question is on how to automate the log import process. They are hosting at MediaTemple … several logs per day. I don’t think anyone on their team will be performing ssh commands each day to import the logs, so wondering if there was a way to automate this process in order to keep their analytics current without having to continuously manually import logs.

Thanks so much.

(Matthieu Aubry) #2

Of course there is a way to automate this. This usually called log rotation + cron tab scripts to run the import. We do not have this documented but many users have done it on their own.

you may also find this guide interesting: