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
The GitHub issue being referred to is “quite messy” (and quite old) to follow, and it does mention “Detect when log-lines are re-imported and only import them once”
What’s the current status of duplicate detection?