{ "id":"/axapi/v3/logging", "type":"object", "node-type":"intermediate", "title":"logging", "operation-not-allowed": ["PUT", "POST", "DELETE"], "auto-created-object":1, "description":"System logging configuration", "properties":{ "auditlog":{ "type":"object", "$ref":"/axapi/v3/logging/auditlog", "properties":{ "host6":{ "type":"string", "format":"ipv6-address", "not":"host4", "description":"Configure the auditlog host" }, "host4":{ "type":"string", "format":"host", "minLength":1, "maxLength":31, "not":"host6", "description":"Configure the auditlog host" }, "audit-facility":{ "type":"string", "format":"enum", "description":"'local0': Local use; 'local1': Local use; 'local2': Local use; 'local3': Local use; 'local4': Local use; 'local5': Local use; 'local6': Local use; 'local7': Local use; (Configure the facility of auditlog)", "enum":[ "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "email-address":{ "type":"object", "$ref":"/axapi/v3/logging/email-address", "properties":{ "email-list":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "email-address":{ "type":"string", "format":"email-addr", "minLength":1, "maxLength":63, "description":"Email address information of recipients" }, "optional":true } } ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "facility":{ "type":"object", "$ref":"/axapi/v3/logging/facility", "properties":{ "facilityname":{ "type":"string", "format":"enum", "default":"local0", "description":"'local0': Local use; 'local1': Local use; 'local2': Local use; 'local3': Local use; 'local4': Local use; 'local5': Local use; 'local6': Local use; 'local7': Local use; (Facility parameter for syslog messages)", "enum":[ "local0", "local1", "local2", "local3", "local4", "local5", "local6", "local7" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "monitor":{ "type":"object", "$ref":"/axapi/v3/logging/monitor", "properties":{ "monitor-levelname":{ "type":"string", "format":"enum", "default":"disable", "description":"'disable': Do not send log to monitor; '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); ", "enum":[ "disable", "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "syslog":{ "type":"object", "$ref":"/axapi/v3/logging/syslog", "properties":{ "syslog-levelname":{ "type":"string", "format":"enum", "default":"disable", "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); ", "enum":[ "disable", "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "trap":{ "type":"object", "$ref":"/axapi/v3/logging/trap", "properties":{ "trap-levelname":{ "type":"string", "format":"enum", "default":"disable", "description":"'disable': Do not send trap to snmp host; 'emergency': System unusable log messages (severity=0); 'alert': Action must be taken immediately (severity=1); 'critical': Critical conditions (severity=2); ", "enum":[ "disable", "emergency", "alert", "critical" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "export":{ "type":"object", "$ref":"/axapi/v3/logging/export", "properties":{ "all":{ "type":"number", "format":"flag", "default":0, "description":"System support messages" }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "description":"Use management port as source port" }, "remote-file":{ "type":"string", "format":"url", "description":"Remote url" } } }, "console":{ "type":"object", "$ref":"/axapi/v3/logging/console", "properties":{ "console-levelname":{ "type":"string", "format":"enum", "default":"error", "description":"'disable': Do not send log to console; '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); ", "enum":[ "disable", "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "email":{ "type":"object", "$ref":"/axapi/v3/logging/email", "properties":{ "level":{ "type":"object", "$ref":"/axapi/v3/logging/email/level", "properties":{ "email-levelname":{ "type":"string", "format":"enum", "default":"disable", "description":"'disable': Do not send log to email address; 'emergency': System unusable log messages (severity=0); 'alert': Action must be taken immediately (severity=1); 'critical': Critical conditions (severity=2); 'notification': Normal but significant conditions (severity=5); ", "enum":[ "disable", "emergency", "alert", "critical", "notification" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "buffer":{ "type":"object", "$ref":"/axapi/v3/logging/email/buffer", "properties":{ "number":{ "type":"number", "format":"number", "minimum":16, "maximum":256, "default":50, "description":"Number of log messages that can be buffered (Number of log messages that can be buffered, default 50)" }, "time":{ "type":"number", "format":"number", "minimum":10, "maximum":1440, "default":10, "description":"Number of minutes a log message can stay in buffer (Number of minutes a log message can stay in buffer, default 10)" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "filter-list":{ "type":"array", "minItems":1, "items":{ "type":"filter" }, "uniqueItems":true, "$ref":"/axapi/v3/logging/email/filter/{filter-id}", "array":[ { "properties":{ "filter-id":{ "type":"number", "format":"number", "minimum":1, "maximum":8, "description":"Logging via email filter settings", "optional":false }, "expression":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":511, "description":"Reverse Polish Notation, consists of level 0-7, module AFLEX/HMON/..., pattern log-content-pattern, and or/and/not", "optional":true }, "trigger":{ "type":"number", "format":"flag", "default":0, "description":"Trigger email, override buffer settings", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "filter-id" ] } ] } } }, "host":{ "type":"object", "$ref":"/axapi/v3/logging/host", "properties":{ "ipv4addr-list":{ "type":"array", "minItems":1, "items":{ "type":"ipv4addr" }, "uniqueItems":true, "$ref":"/axapi/v3/logging/host/ipv4addr/{host-ipv4}", "array":[ { "properties":{ "host-ipv4":{ "type":"string", "format":"host", "description":"Set syslog host ip address", "optional":false }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "description":"Use management port for connections", "optional":true }, "port":{ "type":"number", "format":"number", "minimum":1, "maximum":32767, "default":514, "description":"Set remote syslog port number", "optional":true }, "tcp":{ "type":"number", "format":"flag", "default":0, "description":"Use TCP as transport protocol", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "host-ipv4" ] } ] }, "ipv6addr-list":{ "type":"array", "minItems":1, "items":{ "type":"ipv6addr" }, "uniqueItems":true, "$ref":"/axapi/v3/logging/host/ipv6addr/{host-ipv6}", "array":[ { "properties":{ "host-ipv6":{ "type":"string", "format":"ipv6-address", "description":"Set syslog host ipv6 address", "optional":false }, "use-mgmt-port":{ "type":"number", "format":"flag", "plat-neg-list":["softax-aws"], "default":0, "description":"Use management port for connections", "optional":true }, "port":{ "type":"number", "format":"number", "minimum":1, "maximum":32767, "default":514, "description":"Set remote syslog port number", "optional":true }, "tcp":{ "type":"number", "format":"flag", "default":0, "description":"Use TCP as transport protocol", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "host-ipv6" ] } ] }, "partition":{ "type":"object", "$ref":"/axapi/v3/logging/host/partition", "properties":{ "shared":{ "type":"number", "format":"flag", "default":0, "description":"Select shared partition" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } } } }, "disable-partition-name":{ "type":"object", "$ref":"/axapi/v3/logging/disable-partition-name", "properties":{ "disable-partition-name":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Disable partition name in logs" }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } }, "single-priority-list":{ "type":"array", "minItems":1, "items":{ "type":"single-priority" }, "uniqueItems":true, "$ref":"/axapi/v3/logging/single-priority/{levelname}", "array":[ { "properties":{ "levelname":{ "type":"string", "format":"enum", "description":"'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); ", "enum":[ "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ], "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "levelname" ] } ] }, "buffered":{ "type":"object", "$ref":"/axapi/v3/logging/buffered", "properties":{ "buffersize":{ "type":"number", "format":"number", "minimum":10000, "maximum":50000, "default":30000, "partition-visibility":"shared", "description":"Logging buffer size (in items), default 30000" }, "levelname":{ "type":"string", "format":"enum", "default":"debugging", "description":"'disable': Do not send log to buffer; '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); ", "enum":[ "disable", "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "modify-not-allowed":1, "description":"uuid of the object" } } } } }