Create or update the Log Export configuration for a cluster
Can be used by the following roles assigned at the organization, folder or cluster scope:
- ORG_ADMIN
- CLUSTER_ADMIN
- CLUSTER_OPERATOR_WRITER
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
log_name is an identifier for the logs in the customer's log sink.
LogExportType encodes the cloud selection that we're exporting to along with the cloud logging platform.
Currently, each cloud has a single logging platform.
AWS_CLOUDWATCH, GCP_CLOUD_LOGGING, AZURE_LOG_ANALYTICS aws_external_id to include when assuming the IAM role specified by role_arn. Optional. A specific value may be required by the role's trust policy. Only supported for Advanced clusters on AWS. If provided for a Standard cluster, the request is rejected.
The primary or the secondary connected sources client authentication key. This is used to export logs to Azure Log Analytics.
groups is a collection of log group configurations that allows the customer to define collections of CRDB log channels that are aggregated separately at the target sink.
omitted_channels is a list of channels that the user does not want to export logs for.
redact allows the customer to set a default redaction policy for
logs before they are exported to the target sink. If a group config
omits a redact flag and this one is set to true, then that group
will receive redacted logs.
region allows the customer to override the destination region for all logs for a cluster.
Response
A successful response.
LogExportClusterInfo contains a package of information that fully describes both the intended state of the log export configuration for a specific cluster but also some metadata around its deployment status, any error messages, and some timestamps.
LogExportClusterSpecification contains all the data necessary to configure log export for an individual cluster. Users would supply this data via the API and also receive it back when inspecting the state of their log export configuration.
LogExportStatus encodes the possible states that a configuration can be in as it is created, deployed, and disabled.
DISABLED, DISABLING, DISABLE_FAILED, ENABLED, ENABLING, ENABLE_FAILED, CREDENTIALS_ERROR 
