Media Flow Controller CLI Commands : fmsaccesslog

fmsaccesslog
Configure FMS (Flash Media Server) access log options; this log is generated by the FMS server. In the Web-based interface, this log displays as FMSAccess Log under the Logs tab. This log is written to /nkn/adobe/fms/logs/access.<nn>.log, by default (you can access this using application fms shell, which takes you to fms directory).
The fmsaccesslog displays all FMS server command executions. Streaming fmsaccesslog events include play, pause, seek, and stop events; session fmsaccesslog events include connect, disconnect, and connect-pending events, by default. For each of these events, the fmsaccesslog has at least some of the follow fields logged:
date—Date the event is logged
time—Time the event is logged
c-ip—Client IP address
c-proto—Client connection protocol, either rtmp or rtmpd
s-uri—URI of the FMS application
Once FMS is installed (see “Installing and Using Flash Media Server (FMS) in Media Flow Controller” on page 99) you can access the Logger.xml file to read more about the FMS access log and make some configuration changes. This file is located in /nkn/adobe/fms/conf; you can access this using application fms shell, which takes you to the fms directory.
See “Service Log Options” on page 93 for task details including information on log rotation. See “FMSAccess Log (fmsaccesslog)” on page 123 for usage information.
fmsaccesslog
copy <SCP>
filename <name>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <hour(s)>}
syslog replicate {disable | enable}
Notes:
copy—Auto upload (when the set rotate criteria is reached) the FMS access log using SCP (secure channel protocol), to the server specified using hostname. If username and password are provided, Media Flow Controller uses that for authentication of the SCP session. The no variant disallows auto upload. See the “Command Arguments Key” on page 161 for the scp URL format); you must have an SCP server installed in order to SCP files to your machine.
filename—Configure the name of the file where the FMS access log is stored. Default is fmsaccesslog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
on-the-hour—Set hourly log rotation. Default is no (disabled).
rotate—Media Flow Controller allows FMS access log rotation based on file size or time.
filesize-MB—Set rotation based on file size. Media Flow Controller creates "fmsaccess.log.1," "fmsaccess.log.2" and so on up to "fmsaccess.log.10," after which it wraps around. By default, each file size is 100MB. Juniper Networks highly recommends not increasing the size; huge file transfers take a lot of time, and if there is a system reset, large volumes of data are at risk.
time-interval—Set rotation based on time. Specify a time in hours after which the FMS access log is rotated.
syslog replicate—Specify whether (enable) or not FMS access log messages are seen as part of SYSLOG; default is no (disabled); FMS access log is not in SYSLOG.

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.