Debugging with Nginx access logs

The Nginx access logs have been customised to include additional MageStack information for debugging.

A typical access log entry will look like this,

"[23/Aug/2019:15:38:23 +0100]" "example.com" "www.example.com" "192.168.1.1" "US" "199542" "https://www.example.com" "Mozilla/5.0" "Dynamic" "Frontend" "-" "-" "-" "200" "954" "0.000" "-" "GET / HTTP/1.1"

Decompiling the log entry reveals,

Column Value Field
1 10/Jul/2014:22:27:49 +0100 Server Time
2 example.com Server name (vhost)
3 www.example.com Domain name (HTTP Host)
4 192.168.1.1 Remote IP Address
5 US GeoIP Country Code
6 199542 GeoIP Autonomous System Number
7 https://www.example.com HTTP Referer
8 Mozilla/5.0 HTTP User Agent
9 Dynamic Request Type
10 Frontend Request Area
11 - Whitelisted IP
12 - Whitelisted URI
13 - Whitelisted User Agent
14 200 HTTP Response Code
15 954 Response Body Size (Bytes)
16 0.000 Response Time (Seconds)
17 - Upstream Page Type
18 GET / HTTP/1.1 HTTP Request (Method URI Type)