Technical Library
|
Support
Working With Log Files
>
Example event log file entries
> Squid format
Squid format
Help | Content Gateway | Version 8.1.x
The following figure shows a sample log entry in a
squid.log
file. The table below describes each field.
Field
Description
1
The client request time stamp in Squid format; the time of the client request in seconds since January 1, 1970 UTC (with millisecond resolution).
2
The time the proxy spent processing the client request; the number of milliseconds between the time that the client established the connection with the proxy and the time that the proxy sent the last byte of the response back to the client.
3
The IP address of the client's host machine.
4
The cache result code; how the cache responded to the request: HIT, MISS, and so on. Cache result codes are described in
Cache result codes in Squid- and Netscape-format log files
.
The proxy response status code (the HTTP response status code from Content Gateway to client).
5
The length of the Content Gateway response to the client in bytes, including headers and content.
6
The client request method: GET, POST, and so on.
7
The client request canonical URL; blanks and other characters that might not be parsed by log analysis tools are replaced by escape sequences. The escape sequence is a percentage sign followed by the ASCII code number of the replaced character in hex.
8
The authenticated client's user name. A hyphen (-) means that no authentication was required.
9
The proxy hierarchy route; the route Content Gateway used to retrieve the object. The proxy request server name; the name of the server that fulfilled the request. If the request was a cache hit, this field contains a hyphen (-).
10
The proxy response content type; the object content type taken from the Content Gateway response header.
Working With Log Files
>
Example event log file entries
> Squid format
Copyright 2016 Forcepoint LLC. All rights reserved.