Skip to main content

Logging Feature Template

Configure logging to disk and/or to a remote logging server.

Diagram

Classes

edge_feature_templates (sdwan)

NameTypeConstraintMandatoryDefault Value
logging_templatesList[logging_templates]No

logging_templates (sdwan.edge_feature_templates)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[^<>!&" ]{1,128}$Yes
descriptionStringYes
device_typesListChoice[ASR-1001-HX, ASR-1001-X, ASR-1002-HX, ASR-1002-X, ASR-1006-X, C1101-4P, C1101-4PLTEP, C1101-4PLTEPW, C1109-2PLTEGB, C1109-2PLTEUS, C1109-2PLTEVZ, C1109-4PLTE2P, C1109-4PLTE2PW, C1111-4P, C1111-4PLTEEA, C1111-4PLTELA, C1111-4PW, C1111-8P, C1111-8PLTEEA, C1111-8PLTEEAW, C1111-8PLTELA, C1111-8PLTELAW, C1111-8PW, C1111X-8P, C1112-8P, C1112-8PLTEEA, C1112-8PLTEEAWE, C1112-8PWE, C1113-8P, C1113-8PLTEEA, C1113-8PLTEEAW, C1113-8PLTELA, C1113-8PLTELAWZ, C1113-8PLTEW, C1113-8PM, C1113-8PMLTEEA, C1113-8PMWE, C1113-8PW, C1116-4P, C1116-4PLTEEA, C1116-4PLTEEAWE, C1116-4PWE, C1117-4P, C1117-4PLTEEA, C1117-4PLTEEAW, C1117-4PLTELA, C1117-4PLTELAWZ, C1117-4PM, C1117-4PMLTEEA, C1117-4PMLTEEAWE, C1117-4PMWE, C1117-4PW, C1118-8P, C1121-4P, C1121-4PLTEP, C1121-8P, C1121-8PLTEP, C1121-8PLTEPW, C1121X-8P, C1121X-8PLTEP, C1121X-8PLTEPW, C1126-8PLTEP, C1126X-8PLTEP, C1127-8PLTEP, C1127-8PMLTEP, C1127X-8PLTEP, C1127X-8PMLTEP, C1128-8PLTEP, C1131-8PLTEPW, C1131-8PW, C1131X-8PLTEPW, C1131X-8PW, C1161-8P, C1161-8PLTEP, C1161X-8P, C1161X-8PLTEP, C8000V, C8200-1N-4T, C8200L-1N-4T, C8300-1N1S-4T2X, C8300-1N1S-6T, C8300-2N2S-4T2X, C8300-2N2S-6T, C8500-12X, C8500-12X4QC, C8500-20X6C, C8500L-8S4X, IR-1101, IR-1821, IR-1831, IR-1833, IR-1835, IR-8140H, IR-8140H-P, IR-8340, ISR-4221, ISR-4221X, ISR-4321, ISR-4331, ISR-4351, ISR-4431, ISR-4451-X, ISR-4461, ISR1100-4G-XE, ISR1100-4GLTEGB-XE, ISR1100-4GLTENA-XE, ISR1100-6G-XE, ISR1100X-4G-XE, ISR1100X-6G-XE]No
disk_loggingBooleantrue, falseNo
disk_logging_variableStringRegex: ^[^"~$&+,]255$`No
ipv4_serversList[ipv4_servers]No
ipv6_serversList[ipv6_servers]No
log_rotationsIntegermin: 1, max: 10No
log_rotations_variableStringRegex: ^[^"~$&+,]255$`No
max_sizeIntegermin: 1, max: 20No
max_size_variableStringRegex: ^[^"~$&+,]255$`No
tls_profilesList[tls_profiles]No

ipv4_servers (sdwan.edge_feature_templates.logging_templates)

NameTypeConstraintMandatoryDefault Value
hostname_ipAnyIP or StringNo
hostname_ip_variableStringRegex: ^[^"~$&+,]255$`No
enable_tlsBooleantrue, falseNo
enable_tls_variableStringRegex: ^[^"~$&+,]255$`No
logging_levelChoicealert, critical, debugging, emergency, errors, information, notice, warnNo
logging_level_variableStringRegex: ^[^"~$&+,]255$`No
source_interfaceStringNo
source_interface_variableStringRegex: ^[^"~$&+,]255$`No
tls_profileStringmin: 1, max: 20No
tls_profile_variableStringRegex: ^[^"~$&+,]255$`No
optionalBooleantrue, falseNo
vpn_idIntegermin: 0, max: 65530No
vpn_id_variableStringRegex: ^[^"~$&+,]255$`No

ipv6_servers (sdwan.edge_feature_templates.logging_templates)

NameTypeConstraintMandatoryDefault Value
hostname_ipAnyIP or StringNo
hostname_ip_variableStringRegex: ^[^"~$&+,]255$`No
enable_tlsBooleantrue, falseNo
enable_tls_variableStringRegex: ^[^"~$&+,]255$`No
logging_levelChoicealert, critical, debugging, emergency, errors, information, notice, warnNo
logging_level_variableStringRegex: ^[^"~$&+,]255$`No
source_interfaceStringNo
source_interface_variableStringRegex: ^[^"~$&+,]255$`No
tls_profileStringmin: 1, max: 20No
tls_profile_variableStringRegex: ^[^"~$&+,]255$`No
optionalBooleantrue, falseNo
vpn_idIntegermin: 0, max: 65530No
vpn_id_variableStringRegex: ^[^"~$&+,]255$`No

tls_profiles (sdwan.edge_feature_templates.logging_templates)

NameTypeConstraintMandatoryDefault Value
authentication_typeChoiceserver, mutualNo
authentication_type_variableStringRegex: ^[^"~$&+,]255$`No
ciphersuitesListChoice[aes-128-cbc-sha, aes-256-cbc-sha, dhe-aes-cbc-sha2, dhe-aes-gcm-sha2, ecdhe-ecdsa-aes-gcm-sha2, ecdhe-rsa-aes-cbc-sha2, ecdhe-rsa-aes-gcm-sha2, rsa-aes-cbc-sha2, rsa-aes-gcm-sha2]No
ciphersuites_variableStringRegex: ^[^"~$&+,]255$`No
nameStringmin: 1, max: 20No
name_variableStringRegex: ^[^"~$&+,]255$`No
versionChoiceTLSv1.1, TLSv1.2No
version_variableStringRegex: ^[^"~$&+,]255$`No

Examples

sdwan:
edge_feature_templates:
logging_templates:
- name: FT-CEDGE-LOGGING-01
description: "Base Logging template; no TLS"
ipv4_servers:
- hostname_ip: 172.16.0.11
logging_level: warn
source_interface_variable: logging_server_source_interface
vpn_id: 511
- hostname_ip: 172.16.0.12
logging_level: warn
source_interface_variable: logging_server_source_interface
vpn_id: 511