Skip to main content

Update Managed Cluster's log configuration

PUT 

/managed-clusters/:id/log-config

Update managed cluster's log configuration. Only one of durationMinutes or expiration may be specified, up to 1440 minutes (24 hours) in the future. If neither is specified, the default value for durationMinutes will be 240.

Request

Path Parameters

    id uuidrequired

    ID of ManagedCluster to update log configuration for

    Example: 2b838de9-db9b-abcf-e646-d4f274ad4238

Body

required

ClientLogConfiguration for given ManagedCluster

    oneOf

    Client Runtime Logging Configuration

    clientId string

    Log configuration's client ID

    durationMinutes int32

    Possible values: >= 5 and <= 1440

    Default value: 240

    Duration in minutes for log configuration to remain in effect before resetting to defaults.

    rootLevel StandardLevel (string)required

    Possible values: [OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE]

    Default value: INFO

    Root log level to apply, the default level for all logs. For more information about logging levels, refer to the "Logging Levels" table in Enabling Connector Logging in IdentityNow.

    logLevels

    object

    Map of log level by key. The keys are logging classes, and the values are logging levels. To see the available connectors and their logging classes, refer to the "Logging Classes" table in Enabling Connector Logging in IdentityNow.

    property name* StandardLevel (string)

    Default value: INFO

    Standard Log4j log level

Responses

Responds with updated ClientLogConfiguration for given ManagedCluster

Schema

    clientId string

    Log configuration's client ID

    durationMinutes int32

    Possible values: >= 5 and <= 1440

    Default value: 240

    Duration in minutes for log configuration to remain in effect before resetting to defaults.

    expiration date-time

    Expiration date-time of the log configuration request. Can be no greater than 24 hours from current date-time.

    rootLevel StandardLevel (string)required

    Possible values: [OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE]

    Default value: INFO

    Root log level to apply, the default level for all logs. For more information about logging levels, refer to the "Logging Levels" table in Enabling Connector Logging in IdentityNow.

    logLevels

    object

    Map of log level by key. The keys are logging classes, and the values are logging levels. To see the available connectors and their logging classes, refer to the "Logging Classes" table in Enabling Connector Logging in IdentityNow.

    property name* StandardLevel (string)

    Default value: INFO

    Standard Log4j log level

Loading...