prometheusservice_create_logging_configuration: The CreateLoggingConfiguration operation creates rules and...

View source: R/prometheusservice_operations.R

prometheusservice_create_logging_configurationR Documentation

The CreateLoggingConfiguration operation creates rules and alerting logging configuration for the workspace

Description

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.


paws.management documentation built on Oct. 8, 2026, 1:25 a.m.