Create Logging Configuration
| prometheusservice_create_logging_configuration | R 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.
These logging configurations are only for rules and alerting logs.
Usage¶
prometheusservice_create_logging_configuration(workspaceId, logGroupArn,
clientToken)
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. |
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)
Request syntax¶
svc$create_logging_configuration(
workspaceId = "string",
logGroupArn = "string",
clientToken = "string"
)