The Apache access log contains a list of requests for your application that have bypassed Varnish. These requests include pages, theme files, and static media files.
For a list of the log files handled by Acquia Cloud, including accessing these log files, log file retention, and their locations, see About Acquia Cloud logging. You can also review information about how to streaming Apache log entries in real time from your browser.
Parsing the log file
The following line is a representative example of the data written into your website's Apache access log:
184.108.40.206 - - [04/Jan/2017:23:20:38 +0000] "GET /contact_us HTTP/1.1" 404 10117
"-" "Pingdom.com bot version 1.4 (http://www.pingdom.com/)" vhost=alphabeta.prod.acquia-sites.com
host=www.example.com hosting_site=alphabeta pid=26731 request_time=10186417
forwarded_for="220.127.116.11, 18.104.22.168" request_id="v-00000zzz-d2d4-11e6-9bed-0aeea9eaf9af"
Each of the items in the Apache access log is noted in the following table, along with its description:
||Remote host (client IP)|
||The identity of the user determined by
||The user name, determined by HTTP authentication|
||The date and time the request was received by the backend server|
||The HTTP status code sent from the server to the client|
|6||10117||The total size, in bytes, of the response to the client|
||The referer, which is the page (none in this case) that provided the link to this page|
||The user-agent, or browser identification string, encased in quotation marks as many browser names have spaces in them|
||The underlying virtual host matching the requested domain name|
||The domain name for the request, which does not have to match the
||The internal Acquia site name this request is for|
||The process ID (
||The time needed to serve the request, in microseconds (1/1000000 of a second)|
||The full set of IP addresses tracked as "requester IP," which will contain the IP addresses of the following if they are in use by the subscription:
||A unique ID attached to this request by the load balancer, which appears in several Acquia Cloud log files — for more information, see Using HTTP request IDs|