freaking code code code … I wish I knew what I was doing wrong ?

2Nov/093

Adobe log format vs. Limelight Flash Log Format

For my information: the limelight flash log file format is almost the same as the flash media player 3.5 log format (the last fields have no equivalence in the LUX log format.) for the adobe log format see: link

after the break there is a full table and I've added a zero-based index number (easier to parse the logs). as a final note: the LUX log is tab delimited so its easy to split it :-)

Field

Description

00
x-event

Type of event.

01
x-category

Event category.

02
date

Date of the event.

03
time

Time the event occurred.

04
tz

Time zone information.

05
x-ctx

Event-dependent context information.

06
s-ip

IP address or addresses of the server.

07
x-pid

Server process ID.

08
x-cpu-load

CPU load.

09
x-mem-load

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

10
x-adaptor

Adaptor name.

11
x-vhost

Virtual host name.

12
x-app

Application names.

13
x-appinst

Application instance names.

14
x-duration

Duration of a stream or session event.

15
x-status

For a complete description of the x-status codes and descriptions, see Fields in diagnostic logs.

16
c-ip

Client IP address.

17
c-proto

Connection protocol: RTMP or RTMPT.

18
s-uri

URI of the Flash Media Server application.

19
cs-uri-stem

The stem portion of the s-uri field.

20
cs-uri-query

The query portion of s-uri.

21
c-referrer

URI of the referrer.

22
c-user-agent

User agent.

23
c-client-id

Client ID.

24
cs-bytes

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 cs-bytes in the “connect” event from cs-bytes in the “disconnect” event.

25
sc-bytes

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 sc-bytes in the “connect” event by sc-bytes in the “disconnect” event

26
c-connect-type

Type of connection received by the server:

Normal: Connection from a client, such as Flash Player

Group: Connection between an edge and an origin server

Virtual: Client connection that goes through an edge server, using the group connection between the servers for transmission

27
x-sname

Stream name.

28
x-sname-query

Query portion of the stream URI specified in play or publish.

29
x-suri-query

Same as x-sname-query.

30
x-suri-stem

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

31
x-suri

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

32
x-file-name

Full path of the file representing the x-sname stream.

33
x-file-ext

Stream type (currently, this can be FLV or MP3).

34
x-file-size

Stream size, in bytes.

35
x-file-length

Stream length, in seconds.

36
x-spos

Stream position.

37
cs-stream-bytes

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

To calculate the bandwidth usage per stream, subtract cs-stream-bytes in the “publish” event from cs-stream-bytes in the “unpublish” event.

38
sc-stream-bytes

This field shows the number of bytes transferred from the server to the client per stream. To calculate the bandwidth usage per stream, subtract sc-stream-bytes in the “play” event from sc-stream-bytes in the “stop” event.

The value of sc-stream-bytes can be greater than x-file-size after streaming files not encoded in FLV format, such as MP3 files.

Note: The value of sc-stream-bytes is not necessarily the same as the value of the QoS ByteCount property.

39
x-service-name

Name of the service providing the connection (only applicable to certain connection types).

40
x-sc-qos-bytes

Number of bytes sent to the client for quality of service.

41
x-comment

Comments.

does not exist
x-sid

The ID of a stream. This ID is unique for the client session but not across sessions.

does not exist
x-trans-sname

The name of the stream that the server transitions from (the original stream).

does not exist
x-trans-sname-query

The query stream portion of the stream name for the stream that the server transitions from.

does not exist
x-trans-file-ext

The file extension portion of the stream name for the stream that the server transitions from.

does not exist
x-plugin

Name of the plug‑in. This field is only available in authorization (auth-) events.

does not exist
x-page-url

The URL of the web page in which the client SWF file is embedded.

does not exist
x-smax-rec-size

The maximum file size of a recorded stream.

does not exist
x-smax-rec-duration

The maximum duration of a recorded stream.

Comments (3) Trackbacks (0)
  1. Can you please give the Awstats logformat for

    x-category x-event date time x-pid c-ip cs-bytes sc-bytes x-sname sc-stream-bytes x-file-size x-file-length x-status x-comment

  2. Actually,good post. thx

  3. not sure what you mean, can you elaborate ?


Leave a comment


No trackbacks yet.