[{"label":"Latest (v1.0)","version":"latest"}]
nsx-intelligence-and-application-platform

Post External Syslog Server

Description

Adds a new external syslog server to stream logs to.

Request

Request

URL

URL


post
https://{api_host}/napp/api/v1/platform/support-bundle/external-syslog-server
Copy

Request Body

Request Body

array of ExternalSyslogServer of mimetype application/json Required

JSON object representing the list of external syslog servers being configured.

{
    "host": "logserver.domain.com",
    "port": 514,
    "verify_cert_name": false
}
string
host Optional

The IP address or FQDN of the remote syslog server.


integer
port Optional

The port on which the syslog service is running on the remote server.


boolean
verify_cert_name Optional

Controls whether certificate verification is required for the server.

Authentication

Authentication

This operation uses the following authentication methods.

x_nsx_roles

Scopes: enterprise_admin

Response

Response

200 OK

OK

Errors

Errors

500

Internal Server Error. Look at cluster-api logs for exact reason for failure.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '[{"host":"logserver.domain.com","port":514,"verify_cert_name":false}]' https://{api_host}/napp/api/v1/platform/support-bundle/external-syslog-server


[{"label":"Latest (v1.0)","version":"latest"}]
nsx-intelligence-and-application-platform
Feedback

Was this page helpful?