Parameter |
Choices/Defaults |
Comments |
channel_cfg_name
|
Default:
console
|
Channel name.The value is a string of 1 to 30 case-sensitive characters. The default value is console.
|
channel_id
|
|
Number for channel. The value is an integer ranging from 0 to 9. The default value is 0.
|
channel_name
|
|
Channel name. The value is a string of 1 to 30 case-sensitive characters.
|
channel_out_direct
|
Choices:
- console
- monitor
- trapbuffer
- logbuffer
- snmp
- logfile
|
Direction of information output.
|
facility
|
Choices:
- local0
- local1
- local2
- local3
- local4
- local5
- local6
- local7
|
Log record tool.
|
filter_feature_name
|
|
Feature name of the filtered log. The value is a string of 1 to 31 case-insensitive characters.
|
filter_log_name
|
|
Name of the filtered log. The value is a string of 1 to 63 case-sensitive characters.
|
info_center_enable
|
|
Whether the info-center function is enabled. The value is of the Boolean type.
|
ip_type
|
|
Log server address type, IPv4 or IPv6.
|
is_default_vpn
bool |
|
Use the default VPN or not.
|
level
|
Choices:
- emergencies
- alert
- critical
- error
- warning
- notification
- informational
- debugging
|
Level of logs saved on a log server.
|
logfile_max_num
|
|
Maximum number of log files of the same type. The default value is 200.
The value range for log files is[3, 500], for security files is [1, 3],and for operation files is [1, 7].
|
logfile_max_size
|
Default:
32
|
Maximum size (in MB) of a log file. The default value is 32.
The value range for log files is [4, 8, 16, 32], for security files is [1, 4],
and for operation files is [1, 4].
|
packet_priority
|
|
Set the priority of the syslog packet.The value is an integer ranging from 0 to 7. The default value is 0.
|
server_domain
|
|
Server name. The value is a string of 1 to 255 case-sensitive characters.
|
server_ip
|
|
Log server address, IPv4 or IPv6 type. The value is a string of 0 to 255 characters. The value can be an valid IPv4 or IPv6 address.
|
server_port
|
|
Number of a port sending logs.The value is an integer ranging from 1 to 65535. For UDP, the default value is 514. For TCP, the default value is 601. For TSL, the default value is 6514.
|
source_ip
|
|
Log source ip address, IPv4 or IPv6 type. The value is a string of 0 to 255. The value can be an valid IPv4 or IPv6 address.
|
ssl_policy_name
|
|
SSL policy name. The value is a string of 1 to 23 case-sensitive characters.
|
state
|
Choices:
present ←
- absent
|
Specify desired state of the resource.
|
suppress_enable
|
|
Whether a device is enabled to suppress duplicate statistics. The value is of the Boolean type.
|
timestamp
|
|
Log server timestamp. The value is of the enumerated type and case-sensitive.
|
transport_mode
|
|
Transport mode. The value is of the enumerated type and case-sensitive.
|
vrf_name
|
|
VPN name on a log server. The value is a string of 1 to 31 case-sensitive characters. The default value is _public_.
|