{ "id":"/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}", "type":"object", "node-type":"list", "title":"message-id", "partition-visibility":"shared", "description":"Configure log message", "properties":{ "log-msg":{ "type":"string", "format":"string", "minLength":1, "maxLength":512, "partition-visibility":"shared", "description":"Specify log message-id lineage", "optional":false }, "message-id-scope-route":{ "type":"string", "format":"enum", "default":"log-field-only", "partition-visibility":"shared", "description":"'all': Log messages at this level and all sub-trees; 'node-only': Log messages at this node only; 'children-only': Log messages at all sub-trees only; 'log-field-only': This is a log-field (Default); ", "enum":[ "all", "node-only", "children-only", "log-field-only" ], "optional":false }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true }, "property":{ "type":"object", "$ref":"/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property", "properties":{ "severity":{ "type":"object", "$ref":"/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/severity", "properties":{ "severity-val":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'emergency': System unusable log messages (Most Important); 'alert': Action must be taken immediately; 'critical': Critical conditions; 'error': Error conditions; 'warning': Warning conditions; 'notification': Normal but significant conditions; 'information': Informational messages; 'debugging': Debug level messages (Least Important); ", "enum":[ "emergency", "alert", "critical", "error", "warning", "notification", "information", "debugging" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "log-route":{ "type":"object", "$ref":"/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/log-route", "properties":{ "log-route-val":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'local-only': send logs to local-only; 'remote-only': send logs to remote-only; 'local-and-remote': send logs to both local and remote; ", "enum":[ "local-only", "remote-only", "local-and-remote" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } }, "rate-limit":{ "type":"object", "$ref":"/axapi/v3/acos-events/message-id/{log-msg}+{message-id-scope-route}/property/rate-limit", "properties":{ "rate-limit-val":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'enable': enable rate-limiting of logs; 'disable': disable rate-limiting of logs; ", "enum":[ "enable", "disable" ] }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object" } } } } } }, "object-keys":[ "log-msg", "message-id-scope-route" ], "required":[ "log-msg", "message-id-scope-route" ] }