acos-events message-selector¶
Configure message selector to select messages to be logged/blocked
message-selector Specification¶
Parameter Value Type Collection Object Key(s) name Collection Name message-selector-list Collection URI /axapi/v3/acos-events/message-selector Element Name message-selector Element URI /axapi/v3/acos-events/message-selector/{name} Element Attributes message-selector_attributes Partition Visibility shared Schema message-selector schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/acos-events/message-selector | ||
Create List | POST | /axapi/v3/acos-events/message-selector | ||
Get Object | GET | /axapi/v3/acos-events/message-selector/{name} | ||
Get List | GET | /axapi/v3/acos-events/message-selector | ||
Modify Object | POST | /axapi/v3/acos-events/message-selector/{name} | ||
Replace Object | PUT | /axapi/v3/acos-events/message-selector/{name} | ||
Replace List | PUT | /axapi/v3/acos-events/message-selector | ||
Delete Object | DELETE | /axapi/v3/acos-events/message-selector/{name} |
message-selector-list¶
message-selector-list is JSON List of message-selector attributes
message-selector-list : [
]
message-selector attributes¶
name
Description Specify message selector name
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
rule-list
Type: List
Reference Object: /axapi/v3/acos-events/message-selector/{name}/rule/{index}
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
rule-list¶
Specification Value Type list Block object keys action
Description ‘send’: log messages selected by this rule will be sent; ‘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