matomo-org / matomo-log-analytics

Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting.
https://matomo.org/log-analytics/
GNU General Public License v3.0
225 stars 118 forks source link

config.ini.php could not be read #297

Closed MediaMaquina closed 3 years ago

MediaMaquina commented 3 years ago

This must be something silly but, i have no idea why it can't do it: why

What could i try?

MediaMaquina commented 3 years ago

The whole importing logs is very frustrating for me why can't i upload a log file to your web interface? It requires a local copy to import logs. A local copy was what i was trying to avoid in the first place.

Findus23 commented 3 years ago

Hi,

Can you check that /var/www/matomo/config/config.ini.php does exist? Are you running the python script on the same server as the Matomo setup?

If you are running the script on another server you need to add -token-auth= with an API token that has write permission, so that the script is allowed to import arbitrary data.

The whole importing logs is very frustrating for me why can't i upload a log file to your web interface?

The point of log-analytics is that you can automate this part and don't have to do any manual steps after the setup.