Logging
| Variable | Type | Required | Default | Value Restrictions | Description |
|---|---|---|---|---|---|
| logging | Dictionary | ||||
| console | String | Valid Values: - debugging - informational - notifications - warnings - errors - critical - alerts - emergencies - disabled |
Console logging severity level |
||
| monitor | String | Valid Values: - debugging - informational - notifications - warnings - errors - critical - alerts - emergencies - disabled |
Monitor logging severity level |
||
| buffered | Dictionary | ||||
| size | Integer | Min: 10 Max: 2147483647 |
|||
| level | String | Valid Values: - alerts - critical - debugging - emergencies - errors - informational - notifications - warnings - disabled |
Buffer logging severity level |
||
| trap | String | Valid Values: - alerts - critical - debugging - emergencies - errors - informational - notifications - system - warnings - disabled |
Trap logging severity level |
||
| synchronous | Dictionary | ||||
| level | String | critical |
Valid Values: - alerts - all - critical - debugging - emergencies - errors - informational - notifications - warnings - disabled |
Synchronous logging severity level |
|
| format | Dictionary | ||||
| timestamp | String | Valid Values: - high-resolution - traditional - traditional timezone - traditional year - traditional timezone year - traditional year timezone |
Timestamp format | ||
| hostname | String | Valid Values: - fqdn - ipv4 |
Hostname format | ||
| sequence_numbers | Boolean | Add sequence numbers to log messages |
|||
| facility | String | Valid Values: - auth - cron - daemon - kern - local0 - local1 - local2 - local3 - local4 - local5 - local6 - local7 - lpr - news - sys9 - sys10 - sys11 - sys12 - sys13 - sys14 - syslog - user - uucp |
|||
| source_interface | String | Source Interface Name | |||
| vrfs | List, items: Dictionary | ||||
| - name | String | Required, Unique | VRF name | ||
| source_interface | String | Source interface name | |||
| hosts | List, items: Dictionary | ||||
| - name | String | Required, Unique | Syslog server name | ||
| protocol | String | udp |
Valid Values: - tcp - udp |
||
| ports | List, items: Integer | ||||
| - <int> | Integer | ||||
| policy | Dictionary | ||||
| match | Dictionary | ||||
| match_lists | List, items: Dictionary | ||||
| - name | String | Required, Unique | Match list | ||
| action | String | Valid Values: - discard |
logging:
console: <str>
monitor: <str>
buffered:
size: <int>
level: <str>
trap: <str>
synchronous:
level: <str>
format:
timestamp: <str>
hostname: <str>
sequence_numbers: <bool>
facility: <str>
source_interface: <str>
vrfs:
- name: <str>
source_interface: <str>
hosts:
- name: <str>
protocol: <str>
ports:
- <int>
policy:
match:
match_lists:
- name: <str>
action: <str>
Last update:
June 13, 2023