Updating the Syslog configuration

Updating the Syslog configuration

Set the Syslog configuration for OpsManager.

Request
URI
PUT
https://{api_host}/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": "SyslogConfiguration Object"
}
syslog
Optional

syslog


422

Unprocessible Entity

{
    "errors": {
        "syslog": {
            "ssl_ca_certificate": [
                "string"
            ],
            "permitted_peer": [
                "string"
            ]
        }
    }
}
errors
Optional

errors


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/settings/syslog