logging email

Set logging level which sent to email address

email Specification

Type Intermediate Resource
Element Name email
Element URI /axapi/v3/logging/email
Element Attributes email_attributes
Schema email schema

Operations Allowed:

Operation Method URI Payload

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

Description: filter-list is a JSON List . Please see below for 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
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

filter-list

Specification
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

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

level

Specification
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