Updating the Syslog configuration
Set the Syslog configuration for OpsManager.
Request
URI
PUT
https://{opsmanager-installation}//api/v0/settings/syslog
COPY
Request Body
{
"syslog": {
"enabled": false,
"address": "string",
"port": "string",
"transport_protocol": "string",
"queue_size": 0,
"tls_enabled": false,
"permitted_peer": "string",
"ssl_ca_certificate": "string",
"environment": "string",
"forward_debug_logs": false,
"custom_rsyslog_configuration": "string"
}
}
syslog
Optional
syslog
Responses
200
OK
{
"syslog": {
"enabled": false,
"address": "string",
"port": "string",
"transport_protocol": "string",
"queue_size": 0,
"tls_enabled": false,
"permitted_peer": "string",
"ssl_ca_certificate": "string",
"environment": "string",
"forward_debug_logs": false,
"custom_rsyslog_configuration": "string"
}
}
syslog
Optional
syslog
422
Unprocessible Entity
{
"errors": {
"syslog": {
"ssl_ca_certificate": [
"string"
],
"permitted_peer": [
"string"
]
}
}
}
errors
Optional
errors