Citrix

Produktdokumentation



Ganzes Dokument herunterladen

syslog_server

Oct. 21, 2015

Syslog Server

Properties

Name Data Type Read-Only? Description
port
<Integer>
No

Syslog server port

Minimum value = 1

Maximum value = 65535

serverip
<String>
No

Operations

Note:

Mandatory parameters are marked in red and placeholder content is marked in <green>.

ADD

Use this operation to add a syslog server

HTTP Method: POST

URL: https://<cb_ip_address>/cb/nitro/v1/config/syslog_server

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Content-Type: application/vnd.com.citrix.cloudbridge.syslog_server+json

Request Payload: JSON

{"syslog_server":{
"port": <integer_value>,
"serverip": <string_value>
}}

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.syslog_server+json

Response Payload: JSON

{"syslog_server":{
"port": <integer_value>,
"serverip": <string_value>
}}

DELETE

Use this operation to delete a syslog server

HTTP Method: DELETE

URL: https://<cb_ip_address>/cb/nitro/v1/config/syslog_server/port=<INT>,serverip=<IPADDRESS>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>

Response Payload: EMPTY

GET (ALL)

Use this operation to get syslog servers.

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/syslog_server

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.syslog_server_list+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.syslog_server_list+json

Response Payload: JSON

{"syslog_server": [{
"port": <integer_value>,
"serverip": <string_value>
}, ...]}

GET

Use this operation to get syslog servers.

HTTP Method: GET

URL: https://<cb_ip_address>/cb/nitro/v1/config/syslog_server/port=<INT>,serverip=<IPADDRESS>

Request Headers:

Authorization: Basic <base64 encoded(username:password)>
Accept: application/vnd.com.citrix.cloudbridge.syslog_server+json

Response Headers:

Content-Type: application/vnd.com.citrix.cloudbridge.syslog_server+json

Response Payload: JSON

{"syslog_server":{
"port": <integer_value>,
"serverip": <string_value>
}}
Back to Top