Accesslog - Juniper MEDIA FLOW CONTROLLER 2.0.4 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual

Administrator’s guide and cli command reference
Table of Contents

Advertisement

Media Flow Controller CLI Commands

accesslog

Use these commands to set access log options. The accesslog records all command
executions. See
details including information on log rotation. See
usage information, status codes and sub-codes.
accesslog
copy <SCP>
filename {access.log | <filename>}
format
max-fileid <integer>
on-the-hour {disable | enable}
rotate {filesize-MB <integer> | time-interval <hours>}
syslog replicate {enable | disable}
Type accesslog to enter accesslog configuration mode; only accesslog commands are
available. Type exit to leave accesslog configuration mode. Notes:
—Set auto-upload (when the set rotate filesize-MB criteria is reached) for access
copy
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. Use no accesslog copy to disallow auto upload. See
"Terminology" on page 30
filename
accesslog.<num>.yyyymmdd_hour:min:sec (numbered sequentially).
format
Default is %h %V %u %t %r %s %b "%{Referer}i" "{User-Agent}i" %y.
<field1 field2 ...>
clf
display
ncsa
%y field.
ncsa-ext
max-fileid
on-the-hour
rotate
copy auto-upload has been configured, the log is uploaded to the specified copy URL; if
copy auto-upload has not been configured, the log is replaced with a new log.
filesize-MB
"access.log.1," "access.log.2" and so on all the way to "access.log.10," 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
access log is rotated.
syslog replicate
of SYSLOG also. Default is no (disabled), access log is not seen as part of SYSLOG.
290
accesslog
"Configuring Media Flow Controller Service Logs (CLI)" on page 226
{<field1 field2 ...> | clf | display | ncsa | ncsa-ext}
for the scp URL format and requirements.
—Configure the name of the file where the access log is stored. Default is
—Specify a format for the access log; see
—Choose available field options, described in
—Common Log Format: %h %V %u %t %r %s %b
—Either enable (default) or disable the display of the format in the log.
—National Center for Supercomputing Applications, default format without the
—Default format.
—Set the number of log files to retain. Default is 10.
—Set hourly log rotation. Default is no (disabled).
—Media Flow Controller allows access log rotation based on file size or time. If
—Set rotation based on file size. Media Flow Controller creates
—Set rotation based on time. Specify a time in hours after which the
—Specify whether or not the access log messages are seen as part
Media Flow Controller Administrator's Guide
"Service Log (accesslog)" on page 212
Table
28, for format field options.
Copyright © 2010, Juniper Networks, Inc.
for task
for
Table
28.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Media flow controller 2.0.4

Table of Contents