Download 3.8 MB - Juniper Networks

Transcript
DX Application Acceleration Platform
The file name for the copied web logs is set to:
<DX hostname>_<cluster_name>_<date><time>.gz
The date/time format is YYYYMMDDHHMMSS, and the date and time are based on
local time.
Batch Web Logs and Syslog Web Logs are mutually exclusive (only one can be
enabled at a time). This feature is enabled with the set cluster <n> weblog
destination command.
Web Log Batch Commands
You must configure the Web Log Batch feature on a per-cluster basis.
Configuring the Web Log Batch Feature
To determine whether web log entries will be sent to the Syslog server immediately
(syslog) or in a batch, type the command:
dx%
set cluster <name> weblog destination [syslog | batch]
The syslog and batch options are mutually exclusive.
To set the size of the compressed file to copy (the size of the two data buffers), type
the command:
dx%
set cluster <name> weblog batch copy size [val in MB]
The default value is 10 MBytes, and the range is 1 to 50 MBytes.
To set the times for the Web Log to be transmitted to the configured SCP server,
type the commands:
dx%
dx%
dx%
set cluster <name> weblog batch copy time 1 [time]
set cluster <name> weblog batch copy time 2 [time]
set cluster <name> weblog batch copy time 3 [time]
The format for [time] is HH:MM. Up to three times can be configured for each day.
To configure the Web Log to be transmitted to the configured SCP server at periodic
intervals, type the command:
dx%
set cluster <name> weblog batch copy interval <minutes>
To force an immediate copy of the Web Logs, type the command:
dx%
set cluster <name> weblog batch copy copynow
To set the retry interval (in seconds) in case of copy failure, type the command:
dx%
set cluster <name> weblog batch failure retryinterval [val]
To set the remote SCP target directory, type the command:
dx%
set cluster <name> weblog batch scp directory [directory]
To set the remote SCP username, type the command:
350
„
Web Log Configuration