How to import matomo logs from a sidecar container?


So I have installed matomo in one of the containers running and I want to create a sidecar container which will container the logs of the apache server and I want to send them to matomo. What’s the best way to achieve something like that?

I install this repo GitHub - matomo-org/matomo-log-analytics: Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting. in my container but when running the script I receive the response that it can not read the config.ini.php file, which doesn’t exist anyway since matomo is not installed in that container.