{ "id":"/axapi/v3/logging/email", "type":"object", "node-type":"intermediate", "title":"email", "operation-not-allowed": ["PUT", "POST", "DELETE"], "partition-visibility":"shared", "auto-created-object":1, "description":"Set logging level which sent to email address", "properties":{ "level":{ "type":"object", "$ref":"/axapi/v3/logging/email/level", "properties":{ "email-levelname":{ "type":"string", "format":"enum", "default":"disable", "partition-visibility":"shared", "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, "partition-visibility":"shared", "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, "partition-visibility":"shared", "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, "partition-visibility":"shared", "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, "partition-visibility":"shared", "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, "partition-visibility":"shared", "description":"Logging via email filter settings", "optional":false }, "expression":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":511, "partition-visibility":"shared", "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, "partition-visibility":"shared", "description":"Trigger email, override buffer settings", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } }, "required":[ "filter-id" ] } ] } } }