Media Flow Controller CLI Commands : accesslog : accesslog format Options

accesslog format Options
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).
%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)
%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)
%t (timestamp) (default)
%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)
%Z (server_port)
The Referer and User-Agent (default) fields are from the HTTP client request. Example:
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.