Log Settings - Usage format
License restriction: Usage logs are only available when using a WinGate Professional or WinGate Enterprise license.
When you are configuring a log that creates usage type log files, the Format tab of the Log Settings allows you to select the fields that will be included in each log file entry.
Usage type logs are designed to log traffic through several WinGate web oriented services (i.e. WWW Proxy server and SMTP Server) and so have been created with a W3C logging compliant field format. This allows them to be read by most common log analyzers that support W3C logging.
The Format tab allows you to generate new fields if required. These are useful when having fields to log HTTP Headers such as HTTP Response. The naming of these fields is flexible so that they can be adjusted to suit your requirements and the log analyzer you will be using.
Field | Description |
seq-no | Each time the WinGate engine is started, the Logging system will count sequentially every single line of information that is provided to it by all registered sources (regardless of the type). The Seq No (sequence number) provides the order in which a line of information was provided to the Logging system. This is helpful when you need to see the order in which events are logged across all current log files. The sequence number count will end (and reset to zero) whenever the WinGate engine is stopped and restarted. |
Date / Time | The date and timestamp of when the event data took place was written to the log file. |
c-ip | The IP address of the client. |
cs-username | This is the user associated with the log entry if known by WinGate. |
r-dns | This is the domain portion of the URL requested. |
cs-method | This is HTTP request method used to retrieve the resource e.g. GET, POST. |
cs-uri-stem | This is the resource location portion of the requested URI. |
cs-uri-query | This is the query string portion of the requested URI. |
sc-status | This is the HTTP status code returned by the Web server in the request. |
sc-bytes | This is the size of the resource returned by the server. |
cs(User-Agent) | This field shows the type of browser used by the client making the request. |
Read more about usage logs