Skip to main content

Syslog

Location in GUI: Admin » External Data Collectors » Monitoring Destinations » Syslog

Diagram

Classes

monitoring (apic.fabric_policies)

NameTypeConstraintMandatoryDefault Value
syslogsList[syslogs]No

syslogs (apic.fabric_policies.monitoring)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
auditBooleantrue, falseNotrue
eventsBooleantrue, falseNotrue
faultsBooleantrue, falseNotrue
sessionBooleantrue, falseNofalse
minimum_severityChoiceemergencies, alerts, critical, errors, warnings, notifications, information, debuggingNowarnings
admin_stateBooleantrue, falseNotrue
formatChoiceaci, nxosNoaci
show_millisecondBooleantrue, falseNofalse
show_timezoneBooleantrue, falseNofalse
local_admin_stateBooleantrue, falseNotrue
local_severityChoiceemergencies, alerts, critical, errors, warnings, notifications, information, debuggingNoinformation
console_admin_stateBooleantrue, falseNotrue
console_severityChoiceemergencies, alerts, critical, errors, warnings, notifications, information, debuggingNoalerts
destinationsList[destinations]No

destinations (apic.fabric_policies.monitoring.syslogs)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
hostname_ipAnyString[Regex: ^[a-zA-Z0-9:][a-zA-Z0-9.:-]{0,254}$] or IPYes
protocolChoiceudp, tcp, sslNo
portIntegermin: 1, max: 65535No514
admin_stateBooleantrue, falseNotrue
facilityChoicelocal0, local1, local2, local3, local4, local5, local6, local7Nolocal7
severityChoiceemergencies, alerts, critical, errors, warnings, notifications, information, debuggingNowarnings
mgmt_epgChoiceinb, oobNoinb

Examples

Simple example:

apic:
fabric_policies:
monitoring:
syslogs:
- name: syslog1
destinations:
- hostname_ip: 2.2.2.2

Full example:

apic:
fabric_policies:
monitoring:
syslogs:
- name: syslog1
description: desc1
admin_state: false
format: nxos
show_millisecond: true
show_timezone: true
local_admin_state: false
local_severity: emergencies
console_admin_state: false
console_severity: alerts
destinations:
- hostname_ip: 2.2.2.2
name: dest1
protocol: tcp
port: 1234
admin_state: false
facility: local0
severity: emergencies
mgmt_epg: inb
- hostname_ip: 2.2.2.3