Juniper Networks recommends that you do not change the default format as it conforms to NCSA standard, followed by APACHE, SQUID etc; however, you may do so if you wish. Media Flow Controller is capable of tracking all the fields indicated below. Options are given in Table 22 (use any combination).
Table 22 Accesslog Format Options %9 (RFC 931 authentication server) The username associated with the client connection, determined from an Ident (RFC 931) server running on the client host. %b (Bytes Out No Header) (default) The size of the object returned to the client, not including the response headers. If no content was returned to the client, this value is "-" (dash). %c (cache_hit) Shows from where the object is delivered; for example, Buffer (from buffer cache), Origin (from origin), Tunnel (from tunnel path), SSD (from SSD disk), SAS (from SAS disk), SATA (from STAT disk), NFS (from NFS manager), TFM (from temporary file manager). %f (filename) %h (remote_host) The IP address of the client (remote host) that made the request. The IP address reported here is not necessarily the address of the machine at which the user is sitting. If a proxy server exists between the user and the server, this address is the address of the proxy, rather than the originating machine. %i (header) %m (request_method) %o (response_header) %q (query_string) The query string; prepended with a ? if a query string exists, otherwise an empty string. %r (request_line) (default) The request line from the client, including the method, path, query-string, and protocol; this is equivalent to %m %U %H. %s (status) (default) See “Status/Error Codes” on page 115 for more details. %t (timestamp) (default) The time that the server finished processing the request. The format is day/month/year:hour:minute:second zone: %u (remote_user) (default) Remote userid (from auth); may be bogus if return status (%s) is 401 because the user is not yet authenticated. If the document is not password protected, this entry "-" (dash). %v (server_name) %y (status_subcode) (default) %D (time_used_ms) %E (time_used_in_seconds) %H (request_protocol) %I (bytes_in) %N (Namespace name) %O (bytes_out) %U (URL) %V (HTTP_host) (default) %X (remote_address) %Y (local_address) Media Flow Controller local socket IP address referring to one of the network interfaces. %Z (server_port) Media Flow Controller port number; the port through which the client made the successful transaction (usually 80).10.1.1.101 10.1.1.11 - [30/Dec/2008:20:03:54 +0000] "GET /bbb HTTP/1.0" 200 712 "-" "test client"The "referer" gives the site that the client reports having been referred from; the "user-agent" is the identifying information that the client browser reports about itself.
Report an Error |
Media Flow Controller Administrator's Guide and CLI Command Reference |
Copyright © 2010 Juniper Networks, Inc. |