matomo-log-analytics
                                
                                 matomo-log-analytics copied to clipboard
                                
                                    matomo-log-analytics copied to clipboard
                            
                            
                            
                        Apache2 pipped log - Exclude hostname from Piwik URL
When using the import_logs.py with Apache2 (piped log), hostname from Piwik URL should be automatically excluded, else, you enter in an import loop.
Eg, the script call Piwik URL for importing log from site but later on, it try to import previous piwik URL calls... Then, here you enter in a loop which can kill the server.
Anyway, more generally, the script should never import piwik hits.
Pull request on the code and/or documentation (to specify an --exclude-path=*piwik.php* welcome :+1: