logging syslog¶
Set logging level which sent to syslog host
syslog Specification¶
Type Configuration Resource Element Name syslog Element URI /axapi/v3/logging/syslog Element Attributes syslog_attributes Schema syslog schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/logging/syslog | ||
Get Object | GET | /axapi/v3/logging/syslog | ||
Modify Object | POST | /axapi/v3/logging/syslog | ||
Replace Object | PUT | /axapi/v3/logging/syslog | ||
Delete Object | DELETE | /axapi/v3/logging/syslog |
syslog attributes¶
syslog-levelname
Description ‘disable’: Do not send log to syslog; ‘emergency’: System unusable log messages (severity=0); ‘alert’: Action must be taken immediately (severity=1); ‘critical’: Critical conditions (severity=2); ‘error’: Error conditions (severity=3); ‘warning’: Warning conditions (severity=4); ‘notification’: Normal but significant conditions (severity=5); ‘information’: Informational messages (severity=6); ‘debugging’: Debug level messages (severity=7);
Type: string
Supported Values: disable, emergency, alert, critical, error, warning, notification, information, debugging
Default: disable
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters