This API has a deprecated equivalent from v7.0U1.
Get Forwarding
Returns the configuration for forwarding log messages to remote logging servers.
Request
URLURL
https://{api_host}/api/appliance/logging/forwarding
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
array
of
LoggingForwardingConfig of type application/json
Information about the configuration for forwarding log messages to remote logging servers.
{
"hostname": "string",
"port": 0,
"protocol": "enum"
}
string
hostname
Required
FQDN or IP address of the logging server to which messages are forwarded.
integer
port
Required
The port on which the remote logging server is listening for forwarded log messages.
protocol
Required
Transport protocol used to forward log messages.
Possible values are: TLS , UDP , TCP
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/appliance/logging/forwarding
Operation doesn't throw any errors.
Availability
Added in 7.0U2