The Combined Log Format is a line format for web server access logs. It is the Common Log Format plus two fields, the referer and the user agent.
Field order
Apache defines it like this:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
%hclient IP address%lclient identity per RFC 1413, which Apache calls very unreliable (usually-)%uauthenticated user, otherwise-%ttimestamp in square brackets%rrequest line with method, path and protocol%>sfinal HTTP status code%bresponse size in bytes, without headers- referer and user agent, each in quotes
nginx ships a predefined format called combined with the same content: $remote_addr, $remote_user, $time_local, $request, $status, $body_bytes_sent, $http_referer and $http_user_agent. It applies to access_log when no other format is named.
IP addresses can be personal data (CJEU, judgment of 19 October 2016, C-582/14, Breyer).
This is not legal advice.
Use in SEO
The user agent lets you separate search engine and AI bot requests from other traffic, and the status code shows how the server responded. The format has no field for response time. If you need one, define a custom format, because a field that was never logged cannot be added to old lines.
Example
66.249.66.1 - - [10/Oct/2026:13:55:36 +0000] "GET /products/ HTTP/1.1" 200 2326 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
The referer is - because no referring page was sent. The example is invented.
Sources
- Log Files - Apache HTTP Server 2.4httpd.apache.org
- Module ngx_http_log_module - nginxnginx.org
- CJEU, judgment of 19 October 2016, C-582/14 (Breyer) – EUR-Lexeur-lex.europa.eu
Last updated: