Skip to content

Update Logging Configuration

prometheusservice_update_logging_configuration R Documentation

Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration

Description

Updates the log group ARN or the workspace ID of the current rules and alerting logging configuration.

These logging configurations are only for rules and alerting logs.

Usage

prometheusservice_update_logging_configuration(workspaceId, logGroupArn,
  clientToken)

Arguments

workspaceId

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

logGroupArn

[required] The ARN of the CloudWatch log group to which the vended log data will be published.

clientToken

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

Value

A list with the following syntax:

list(
  status = list(
    statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
    statusReason = "string"
  )
)

Request syntax

svc$update_logging_configuration(
  workspaceId = "string",
  logGroupArn = "string",
  clientToken = "string"
)