A machine-readable guide to this site for AI agents and language models is available at/llms.txt(https://dev.acquia.com/llms.txt on the production site).
goaccess access.log analysis on a Non-Production environment | Cloud Platform | Acquia Product Documentation
Cloud Platform
goaccess access.log analysis on a Non-Production environment
goaccess access.log analysis on a Non-Production environment
Date Published: February 5, 2025
In this article we will be going over a quick example on how to use goaccess to analyze the Apache access.log in a non-production Acquia Cloud Platform environment. Make sure to replace content in [] with your specific use case
For non-production environments which rely on a single instance to serve traffic analyzing the logs with goaccess is relatively simple.
First you SSH to the appropriate environment example.env and navigate to the access.loglocation.
In order to analyze the logs you need to pa them to goaccess together with the appropriate log format. For example:
The report is now available for you to download using the same methods described here but with the location being /home/[example]/report.html instead.
Note that you can actually place the report.html to a location which is served by your sites like /var/www/html/example.env/docroot/sites/default/files by modifying the above command and then view the result from your browser. Be careful you may want to add http authentication to that as it will be publicly available!