Media Flow Controller CLI Commands
Media Flow Controller Administrator’s Guide
366
streamlog
Copyright © 2010, Juniper Networks, Inc.
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <integer>}
syslog replicate {disable | enable}
Notes:
•
copy
—Auto upload (when the set rotate criteria is reached) the stream 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
“Terminology” on page 30
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 streaming log is stored. Default is
streamlog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
•
format
—Specify a format for the stream log. Use no to reset to default: "%h %c %t %x
“%r” %s %I %O. See
Table 36
, for field option details.
•
<field1 field2 ...>
—Choose available field options, described in
Table 36
.
•
clf
—Common Log Format: %h %V %u %t %r %s %b
•
display
—Either enable (default) or disable the display of the format in the log.
•
on-the-hour
—Set hourly log rotation. Default is no (disabled).
•
rotate
—Media Flow Controller allows streaming log rotation based on file size or time.
•
filesize-MB
—Set rotation based on file size. Media Flow Controller creates ten
streamlogs, numbered sequentially, after which it wraps around. By default, each file
size is 100MB. We highly recommend 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 minutes after which
the streamlog is rotated. Default is 0 hours disabled.
•
syslog replicate
—Specify whether (enable) or not streamlog messages are seen as
part of SYSLOG; default is disable (streaming log is not seen as part of SYSLOG).
streamlog format Options
Options are (use any combination) shown in
Table 36
.
Table 36
streamlog format Options
Field
Description
Example s
%a
(avg b/w)
Average bandwidth in bytes per second.
35390
%c
(s-ip)
Destination IP address in the RTSP request.
192.155.14.14
%d
(r-ip)
Origin server IP address.
123.14.14.55
%f
(filelength)
Length of the stream in seconds.
55
%h
(c-ip)
Client Source IP address.
207.19.19.20
%i
Player information used in the header (User-Agent).
NSPlayer
%j
(timestamp)
Timestamp (seconds since Epoch) when transaction ended.
963873698.73
Summary of Contents for MEDIA FLOW CONTROLLER 2.0.4 -
Page 6: ...Media Flow Controller Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Page 24: ...LIST OF FIGURES XXIV Copyright 2010 Juniper Networks Inc...
Page 37: ...Copyright 2010 Juniper Networks Inc 37 PART 1 Media Flow Controller Administration...
Page 38: ...Media Flow Controller Administrator s Guide 38 Copyright 2010 Juniper Networks Inc...
Page 285: ...Copyright 2010 Juniper Networks Inc 285 PART 2 Media Flow Controller Command and MIB Reference...
Page 286: ...Media Flow Controller Administrator s Guide 286 Copyright 2010 Juniper Networks Inc...