acos-events log-parameterization message-selector rule

Configure rules to select messages for which logging is enabled/blocked

rule Specification

Parameter Value
Type Collection
Object Key(s) index
Collection Name rule-list
Collection URI /axapi/v3/acos-events/log-parameterization/message-selector/rule
Element Name rule
Element URI /axapi/v3/acos-events/log-parameterization/message-selector/rule/{index}
Element Attributes rule_attributes
Partition Visibility shared
Schema rule schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/acos-events/log-parameterization/message-selector/rule

rule attributes

Create List

POST

/axapi/v3/acos-events/log-parameterization/message-selector/rule

rule attributes

Get Object

GET

/axapi/v3/acos-events/log-parameterization/message-selector/rule/{index}

rule attributes

Get List

GET

/axapi/v3/acos-events/log-parameterization/message-selector/rule

rule-list

Modify Object

POST

/axapi/v3/acos-events/log-parameterization/message-selector/rule/{index}

rule attributes

Replace Object

PUT

/axapi/v3/acos-events/log-parameterization/message-selector/rule/{index}

rule attributes

Replace List

PUT

/axapi/v3/acos-events/log-parameterization/message-selector/rule

rule-list

Delete Object

DELETE

/axapi/v3/acos-events/log-parameterization/message-selector/rule/{index}

rule attributes

rule-list

rule-list is JSON List of rule attributes

rule-list : [

rule attributes

action

Description ‘send’: log messages selected by this rule will be sent (Default); ‘drop’: log messages selected by this rule will be dropped;

Type: string

Supported Values: send, drop

Default: send

index

Description Specify rule index - rules are applied in numeric order

Type: number

Range: 1-256

message-id

Description Select a specific message by message-id and optionally severity

Type: string

Maximum Length: 128 characters

Maximum Length: 1 characters

message-id-scope

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’: Log message for this Log Field only;

Type: string

Supported Values: all, node-only, children-only, log-field-only

severity-oper

Description ‘equal-and-higher’: emergency is highest, debugging lowest; ‘equal’: single severity;

Type: string

Supported Values: equal-and-higher, equal

severity-val

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

Type: string

Supported Values: emergency, alert, critical, error, warning, notification, information, debugging

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters