Skip to contents

The create_logging_configuration operation creates rules and alerting logging configuration for the workspace. Use this operation to set the CloudWatch log group to which the logs will be published to.

See https://www.paws-r-sdk.com/docs/prometheusservice_create_logging_configuration/ for full documentation.

Usage

prometheusservice_create_logging_configuration(
  workspaceId,
  logGroupArn,
  clientToken = NULL
)

Arguments

workspaceId

[required] The ID of the workspace to create the logging configuration for.

logGroupArn

[required] The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this operation.

clientToken

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.