---
title: "Web server log format"
canonical_url: "https://www.zone.lv/help/kb/web-server-log-format/"
post_type: "ht_kb"
published: "2022-09-19T13:36:20+00:00"
modified: "2022-09-19T13:36:20+00:00"
language: "en"
author: "Ants Korsar"
taxonomies:
  ht_kb_category:
    - name: "Apache"
      url: "https://www.zone.lv/help/kb-categories/apache-en/"
    - name: "Technical"
      url: "https://www.zone.lv/help/kb-categories/technical-en/"
  ht_kb_tag:
    - name: "apache"
      url: "https://www.zone.lv/help/kb-tags/apache-eng/"
    - name: "Cloudflare"
      url: "https://www.zone.lv/help/kb-tags/cloudflare/"
    - name: "log"
      url: "https://www.zone.lv/help/kb-tags/log/"
    - name: "log format"
      url: "https://www.zone.lv/help/kb-tags/log-format/"
    - name: "logs"
      url: "https://www.zone.lv/help/kb-tags/logs/"
---

# Web server log format

Apache webserver logs are located in the `logs` catalogue. Secure HTTPS connection logs are located in `apache.ssl.access.log` file.

Here is an example of a log line:

`example.com 2021-03-08T13:58:23.209048Z 1.2.3.4 12345 - user1 "GET / HTTP/2" 200 3390 "https://example.com/referer" "ApacheBench/2.3" 1621846 (064FD630-5.001)`

Description of log line elements:

example.comRequest target Domain/Host2021-03-08T13:58:23.209048ZSTART Time of request in UTC1.2.3.4Requester’s IP address12345Request’s Port of origin .
If Port is 0, the request was made through a trustworthy proxy (like Cloudflare)–Identd legacy, it is always `-`.user1HTTP Basic Auth username. If Basic Auth is not used, `-` is displayed.“GET / HTTP/2”Request originating from client
`GET` is request method
`/` is request method
`HTTP/2` is request’s protocol200Request response code returned from server.
`1xx` response codes are informative.
`2xx` codes are notifications of successful responses.
`3xx` codes are forwards.
`4xx` codes are errors from client.
`5xx` codes are errors from server.3390Request response size in bytes.“https://example.com/referer”*Referrer* is the referral address from which the request was made“ApacheBench/2.3”The web browser or application that performed the request.1621846Time in microseconds, how long it took the web server to respond to the request.(064FD630-5.001)064FD630 is PHP-ZFPM identificator. After the hyphen is the time in seconds (5.001s), how long it took PHP to process the request.
If brackets contain `---`, then it was not a PHP request.
