How does Piwik log analytics detect portions of file already processed?


#1

When Piwik is scans a log file that grows from day to day, how is Piwik able to detect that the leading parts of the log fle have already been scanned and skip them?

It is able to identify a previously scanned file and skip the parts it read previously, or does it go through the file and only skips over lines when it detects that they have already been processed in the database?


(Matthieu Aubry) #2

Hi there,

how is Piwik able to detect that the leading parts of the log fle have already been scanned and skip them?

Piwik does not detect this and will re-import the whole file every time. It’s your duty to give piwik only new data to import.