Skip to content

Instantly share code, notes, and snippets.

@csarcom
Created May 9, 2013 19:05
Show Gist options
  • Save csarcom/5549723 to your computer and use it in GitHub Desktop.
Save csarcom/5549723 to your computer and use it in GitHub Desktop.
self.x_severity = None # Log event severity (DEBUG, INFO, WARN, ERROR, FATAL)
self.x_category = None # Log event category (server, vhost, application, session, stream)
self.x_event = None # Log event (see table below)
self.tz_ = None # Time zone of log event
self.date_ = None # Ex.: '2013-01-29'
self.time_ = None # Ex.: '10:00:05'
self.c_client_id = None # Client ID number assigned by the server to the connection
self.c_ip = None # Client connection IP address
self.c_port = None # Client connection port
self.cs_bytes = None # Total number of bytes transferred from client to server (accumulative)
self.sc_bytes = None # Total number of bytes transferred from server to client (accumulative)
self.x_duration = None # Time in seconds that this event occurred within the lifetime of the
# x-category object
self.x_sname = None # Name of stream x-stream-id
self.x_stream_id = None # Stream ID number assigned by server to the stream object
self.x_spos = None # Position in milliseconds within the media stream
self.sc_stream_bytes = None # Total number of bytes transferred from server to client for stream
# x- stream-id (accumulative)
self.cs_stream_bytes = None # Total number of bytes transferred from client to server for stream
# x- stream-id (accumulative)
self.x_file_size = None # File size in bytes of stream x-stream-id
self.x_file_length = None # File length in seconds of stream x-stream-id
self.x_ctx = None # Extra data about the context of the log event
self.x_comment = None # Extra comment about the log event
self.c_proto = None # Client connection protocol (rtmp, rtmpe, rtmpt(HTTP-1.1), rtmpte(HTTP-1.1),
# rtmps(HTTP-1.1), http (cupertino), http (smooth))
self.c_referrer = None # URL of the Flash movie that initiated the connection to the server
self.c_user_agent = None # Version of the Flash client that initiated the connection to the server
self.x_app = None # Name of the application from which the event was generated
self.x_suri = None # Full connection string for stream x-stream-id (including query parameters)
self.s_uri = None # Full connection string on which the server received this event
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment