acos-events log-server port

Logging Server Port

port Specification

Parameter Value
Type Collection
Object Key(s) port-number, protocol
Collection Name port-list
Collection URI /axapi/v3/acos-events/log-server/{name}/port
Element Name port
Element URI /axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}
Element Attributes port_attributes
Partition Visibility shared
Statistics Data URI /axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}/stats
Schema port schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/acos-events/log-server/{name}/port

port attributes

Create List

POST

/axapi/v3/acos-events/log-server/{name}/port

port attributes

Get Object

GET

/axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}

port attributes

Get List

GET

/axapi/v3/acos-events/log-server/{name}/port

port-list

Modify Object

POST

/axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}

port attributes

Replace Object

PUT

/axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}

port attributes

Replace List

PUT

/axapi/v3/acos-events/log-server/{name}/port

port-list

Delete Object

DELETE

/axapi/v3/acos-events/log-server/{name}/port/{port-number}+{protocol}

port attributes

port-list

port-list is JSON List of port attributes

port-list : [

port attributes

action

Description ‘enable’: enable; ‘disable’: disable;

Type: string

Supported Values: enable, disable

Default: enable

health-check

Description Health Check (Monitor Name)

Type: string

Maximum Length: 31 characters

Maximum Length: 1 characters

Mutual Exclusion: health-check and health-check-disable are mutually exclusive

Reference Object: /axapi/v3/health/monitor

health-check-disable

Description Disable health check

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: health-check-disable and health-check are mutually exclusive

port-number

Description Port Number

Type: number

Range: 0-65534

protocol

Description ‘tcp’: TCP Port; ‘udp’: UDP Port;

Type: string

Supported Values: tcp, udp

sampling-enable

Type: List

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

sampling-enable

Specification Value
Type list
Block object keys  

counters1

Description ‘all’: all; ‘msgs_sent’: Number of log messages sent;

Type: string

Supported Values: all, msgs_sent