logging email

Set logging level which sent to email address

email Specification

Parameter Value
Type Intermediate Resource
Element Name email
Element URI /axapi/v3/logging/email
Element Attributes email_attributes
Partition Visibility shared
Schema email schema

Operations Allowed:

OperationMethodURIPayload

Get Object

GET

/axapi/v3/logging/email

email_attributes

email attributes

buffer

Description: buffer is a JSON Block. Please see below for buffer

Type: Object

Reference Object: /axapi/v3/logging/email/buffer

filter-list

Type: List

Reference Object: /axapi/v3/logging/email/filter/{filter-id}

level

Description: level is a JSON Block. Please see below for level

Type: Object

Reference Object: /axapi/v3/logging/email/level

buffer

Specification Value
Type object

number

Description Number of log messages that can be buffered (Number of log messages that can be buffered, default 50)

Type: number

Range: 16-256

Default: 50

time

Description Number of minutes a log message can stay in buffer (Number of minutes a log message can stay in buffer, default 10)

Type: number

Range: 10-1440

Default: 10

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

filter-list

Specification Value
Type list
Block object keys  

expression

Description Reverse Polish Notation, consists of level 0-7, module AFLEX/HMON/…, pattern log-content-pattern, and or/and/not

Type: string

Format: string-rlx

Maximum Length: 511 characters

Maximum Length: 1 characters

filter-id

Description Logging via email filter settings

Type: number

Range: 1-8

trigger

Description Trigger email, override buffer settings

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

level

Specification Value
Type object

email-levelname

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);

Type: string

Supported Values: disable, emergency, alert, critical, notification

Default: disable

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters