Cisco Cisco Videoscape Voyager Vantage 3.2 用户指南

下载
页码 204
18
Configuration
 
Configuration Parameters
Table 1
JSON Diagnostics Configuration Parameters 
Name
Value
Description
Default 
Value
Allowed Range
<min, max>
http-port-public
<Port Number>
Port number for the Public REST API. If this 
parameter is not specified, the default value is 
used.
10086
N/A
diaglog-size-kb
<size in kb>
Indicates when the diaglog should be rotated 
(similar to slog).
100
<100, 2048>
diag-copies
<max files to 
save>
The number of diagnostic log files to save 
(compressed).
1
<1,10>
diag-carry-over
<messages to 
keep on rotate>
Number of messages to save in older log files. 
For log rotation, existing log files are renamed to 
a new name such as mv diagnostics.log 
diagnostics.1
 followed by a call such as tail 
-200 new-name > diagnostics.log
, where 200 
is the number of messages saved in the file.
200
<200, 600>
circular-buffer-
 
size-objs
<max objects to 
be stored>
Maximum number of events that can be queued 
for transport and pulled using the post rate 
value. If this constraint cannot be met, objects 
are dropped, oldest first. A buffer helps to even 
out data traffic during periodic heavy logging.
During heavy logging, new messages push out 
the oldest ones so that the data collector holds 
only the most recent events. There is no 
signaling when events have been dropped.
200
<200, 2000>
http-post-rate
<max average 
number of 
objects per sec>
Used with the http-post-burst-interval 
parameter for HTTP POST rate smoothing, if 
http-url-collector is specified.
1
<1, 20>
http-post-burst
-interval
<time interval in 
secs >
Used to determine the number of messages 
[http-post-rate * http-post-burst-interval], if 
available, to be sent at every 
http-post-burst-interval.
1
<1, 60>
http-url-
 
collector
<HTTP URL>
HTTP URL of the Data Collector.
“” 
(Empty)
N/A
Module name
<log level>
Module name and severity level pairs used to 
control which logs are sent to the headend data 
collector. See VOD Error Logs for details.
Note:
 If an entry for a section is present, any 
logs visible to the customer are forwarded 
regardless of section. This limits excessive 
logging and allows the developer to control 
what is important to log externally.
For example, DL_CV|DL_NOISE forwards to 
diagnostics.log as long as there is a setting in 
diagnostics.ini for that section.
“” 
(Empty)
N/A