Ignore Errors with Log Importer

(Avi) #1

I am using the Python log importer to import a raw nginx log.

This throws up errors when there is a problem importing a line or lines from the log file into Matomo into MySQL.

It appears that any import from that log file is discarded when these errors are encountered. And these errors are quite common. I have “patched” a few, but more keep being thrown up. At the moment I typically have one failure every day with hourly log imports.

Are there any settings that may be helpful with this issue? Such as using IGNORE for MYSQL inserts.