Does the import_logs.py script detect if it has parsed a log file before? We are currently working to implement piwik, but it seems that subsequent runs of the import_logs.py script imports additional requests.
This feature is not implemented, see feature request in Log analytics list of improvements · Issue #3163 · matomo-org/matomo · GitHub