Configure Log Forwarding
Endpoint to save log forwarding settings and configure log forwarding for Provider, Tenant and Db Appliances
Authorized Roles : PROVIDER
Request
URI
POST
https://{api_host}/provider/log-forwarding-settings
COPY
Request Body
LogForwardingSettingsDto
of type(s)
application/json
Required
Show optional properties
{
"logType": "string",
"ip": "string",
"port": 0
}
{
"logType": "string",
"ip": "string",
"port": 0,
"indexName": "string",
"protocol": "string"
}
string
logType
Required
logType
Possible values are :
ELASTICSEARCH,
SYSLOG,
string
ip
Required
ip
integer As int32
As int32
port
Required
port
string
indexName
Optional
indexName
string
protocol
Optional
protocol
Possible values are :
TCP,
UDP,
TLS,
Responses
200
OK
Returns
LogForwardingSettingsDto
of type(s)
application/vnd.vmware.dms-v1+json
"LogForwardingSettingsDto Object"
string
logType
Required
logType
Possible values are :
ELASTICSEARCH,
SYSLOG,
string
ip
Required
ip
integer As int32
As int32
port
Required
port
string
indexName
Optional
indexName
string
protocol
Optional
protocol
Possible values are :
TCP,
UDP,
TLS,
400
Bad Request
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ip:"string","logType:"string","port:"integer"}' https://{api_host}/provider/log-forwarding-settings
Log Forwarding Operations
GET
Get Log Forwarding Source
PUT
Update Log Forwarding Source
GET
Get Log Forwarding Settings 1
PUT
Update Log Forwarding Settings
POST
Configure Log Forwarding
POST
Retry Log Forwarding
GET
Get All Log Forwarding Source
GET
Get Log Forwarding Settings
DELETE
Delete Log Forwarding Settings