Log Analytics

Import your server log files and add them as another site on your dashboard for easy viewing.

Server log analytics provides companies and organisations with all the features of the Javascript tracking code method, but with a higher level of security and feasibility. It can be used for all kinds of purposes – from web analytics to intranet analytics, CRM and other platform-based analytics.

Log Analytics with Matomo

What can I use Log Analytics for?

You can use server log analytics as an alternative method for tracking your website’s users if the Javascript tracking method isn’t feasible or if you need to comply with strict security policies.

Log Analytics can be applied to a number of business use cases:

Financial Institutions

Healthcare Organisations

Web Hosting Companies

What is a web server log file?

All web servers generate access log files which contain all of the requests made to the server. Each log file includes historical information about the activity performed by it (typically by a website’s visitor). You can import your server log files into your Matomo service and add them as another site on your dashboard for easy viewing. All your server log files will be parsed, processed and displayed in the same way as the reports from the Javascript tracking code method.

Advantages of Log Analytics

Higher network security

Server isolation

Processing historical web log files

Greater tracking capabilities

Features of Matomo Log Analytics

  • 100% software and data ownership
  • Protect visitor privacy with IP anonymisation
  • Build custom plugins or reuse the extensive APIs
  • Recognises most server log formats (Apache, Nginx, IIS, etc.)
  • Transforms gigabytes of server access logs into insightful analytics
  • EU Data Privacy law compliant
  • A delete-old-logs feature to keep database size under control
  • Easily migrate from AWStats and Urchin by importing your historical logs into Matomo
  • All Matomo features are automatically supported
  • Supports the DoNotTrack (DNT) function
  • Sarbanes-Oxley and PCI compliant
  • Automatically exclude bots (search engines, spam bots, etc.) from reports. There is an option to track bots and assign them a custom variable to differentiate them from human visitors

Parsing logs with Matomo Log Analytics

To use Log Analytics, you need the latest version of Matomo, Python and your server’s access logs to import into Matomo (Piwik). Full documentation can be found in the user guide: How to run the Log Analytics tool.

Log Analytics FAQ and User Guide

See the Log Analytics FAQ for answers to your most burning questions. Full documentation can be found in the user guide: How to run the Log Analytics tool.

Log Analytics is used as an alternative to the Javascript tracking method. For default Matomo tracking, consider using the Javascript tracker.

Feedback: your feature requests

feedback

Feel free to create a new ticket in our issue tracker to request a new feature. You can find the list of all opened Log Analytics tickets here. If you are a Python developer, check out the source code and consider submitting a pull request. Any suggestions for improvements are warmly received and appreciated.