Update Log Forwarding Configuration Using PUT
NOTE: The "enabled" field should not be specified. Log forwarding will be enabled as a result of this API call. To disable log forwarding use "/api/logforwarding/disable" API
The log forwarding configuration data
Show optional properties
{
"cluster": "string",
"entities": [
{}
],
"host": "string",
"protocol": "string"
}
{
"cluster": "string",
"enabled": false,
"entities": [
"string"
],
"host": "string",
"port": 0,
"protocol": "string",
"sslCertPath": "string",
"useSSL": false
}
The name of the cluster
Indicates whether the logs should go to external log server or not
Entities to forward the logs from
The host to forward the logs to
The Forwarding port
The port takes default value based on the protocol and whether SSL is enabled or not: Protocol CFAPI, SSL disabled, Default port: 9000 Protocol CFAPI, SSL enabled, Default port: 9543 Protocol SYSLOG, SSL disabled, Default port: 514 Protocol SYSLOG, SSL enabled, Default port: 6514
The Forwarding protocol
The path to certificate authority file
Flag that indicates whether SSL protocol is used or not
The log forwarding configuration data
{
"cluster": "string",
"enabled": false,
"entities": [
"string"
],
"host": "string",
"port": 0,
"protocol": "string",
"sslCertPath": "string",
"useSSL": false
}
The name of the cluster
Indicates whether the logs should go to external log server or not
Entities to forward the logs from
The host to forward the logs to
The Forwarding port
The port takes default value based on the protocol and whether SSL is enabled or not: Protocol CFAPI, SSL disabled, Default port: 9000 Protocol CFAPI, SSL enabled, Default port: 9543 Protocol SYSLOG, SSL disabled, Default port: 514 Protocol SYSLOG, SSL enabled, Default port: 6514
The Forwarding protocol
The path to certificate authority file
Flag that indicates whether SSL protocol is used or not