Fields

This tag specifies which fields for an event are logged in the Access log file.

Description

Fields are associated with the events found in the Access log file. The field specification is a semicolon-separated list of one or more fields associated with an event in the log file.

The keyword * specifies that all fields are to be logged. Fields without data are left empty. Macromedia recommends that you include the following fields in the fields to be logged: the type, category, date, and time fields.

The following table is a complete list of fields associated with events in the Access log file. Not every field is associated with each event in the log file.

Field

Event(s)

Description

x-event

application

Type of event.

x-category

application

Event category.

date

application

Date at which the event occurred.

time

application

Time at which the event occurred.

tz

application

Time zone information.

x-ctx

application

Event-dependent context information.

x-pid

application

Server process ID.

x-cpu-load

application

CPU load.

x-mem-load

application

Memory usage (as reported by the getServerStats() method).

x-adaptor

application

Adaptor name.

x-vhost

application

Vhost name.

x-app

application

Application names.

x-appinst

application

Application instance names.

c-ip

application

Client IP address.

c-proto

application

Connection protocol: RTMP or RTMPT.

s-uri

application

URI of the Flash Media Server application.

c-referrer

application

URI of the referrer.

c-user-agent

application

User agent.

c-client-id

application

Client ID.

cs-bytes

application

This field shows the number of bytes transferred from the client to the server.

This information can be used to bill customers per session. To calculate the bandwidth usage per session, subtract the value of 'cs-bytes' in the 'connect' event from the value of 'cs-bytes' in the 'disconnect' event.

sc-bytes

application

This field shows the number of bytes transferred from the server to the client.

This information can be used to bill customers per session. To calculate the bandwidth usage per session, subtract the 'sc-bytes' in the 'connect' event by the 'sc-bytes' in the 'disconnect' event

x-sname

application

Stream name.

x-file-size

application

Stream size in bytes.

x-file-length

application

Stream length in seconds.

x-spos

application

Stream position.

cs-stream-bytes

application

This field shows the number of bytes transferred from the client to the server per stream.

To calculate the bandwidth usage per stream, subtract the 'cs-stream-bytes' in the 'publish' event by the 'cs-stream-bytes' in the 'unpublish' event.

sc-stream-bytes

application

This field shows the number of bytes transferred from the server to the client per stream.

To calculate the bandwidth usage per stream, subtract the 'sc-stream-bytes' in the 'play' event by the 'sc-stream-bytes' in the 'stop' event.

cs-uri-stem

application

Stem portion of s-uri (omitting query) field.

cs-uri-query

application

Query portion of s-uri.

x-sname-query

application

Query portion of stream URI specified in play or publish.

x-file-name

application

Full path of the file representing x-sname stream.

x-file-ext

application

Stream type. Currently Flash Media Server supports FLV or MP3 files.

s-ip

application

IP address or addresses of the server.

x-duration

application

Duration of a stream or session event.

x-suri-query

application

Same as x-sname-query.

x-suri-stem

application

This is a composite field: cs-uri-stem + x-sname + x-file-ext.

x-suri

application

This is a composite field: cs-uri-stem + x-sname + x-file-ext + x-sname-query.

x-status

application

See the following table for a complete description of the x-status codes and descriptions.

See also

Events


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fms/2/docs/00000339.html