Skip to main content
PUT
/
api
/
v1
/
config
/
log-control-config
cURL
curl --request PUT \
  --url https://{tenant}.chronosphere.io/api/v1/config/log-control-config \
  --header 'API-Token: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "log_control_config": {
    "created_at": "2023-11-07T05:31:56Z",
    "rules": [
      {
        "filter": "<string>",
        "mode": "ENABLED",
        "name": "<string>",
        "type": "DROP"
      }
    ],
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Body

application/json
create_if_missing
boolean

If true, the LogControlConfig will be created if it does not already exist. If false, an error will be returned if the LogControlConfig does not already exist.

dry_run
boolean

If true, validates the specified configuration without creating or updating the LogControlConfig. If the specified configuration is valid, the endpoint returns a partial response without the LogControlConfig. If the specified configuration is invalid, the endpoint returns an error.

log_control_config
object

The LogControlConfig to update.

Response

A successful response containing the updated LogControlConfig.

log_control_config
object

LogControlConfig is a singleton configuration object that specifies the configuration for log control.