We are having an issue where the source client IPs are not appearing in the Visitors log. We have a load balancer routing the traffic to the PIWIK server, and all the entries have the load balancer’s IP address as the source. We’ve tried to follow the FAQ in How to configure PIWIK behind a proxy (How do I configure Piwik when the server is installed behind a proxy? - Analytics Platform - Matomo), but it’s still not working. We’ve also modified the apache configuration (HOWTO: Log Client IP AND X-Forwarded-For IP in Apache - Techstacks HOWTO’s) to log the client IP, so the access_log is actually showing the source IP and not that of the load balancer. We are using X-Forwarding-For to get the source client IP to the backend web servers and PIWIK. Are we missing something?
Many thanks in advance!