Creates a query logging configuration for the specified workspace
Source:R/prometheusservice_operations.R
prometheusservice_create_query_logging_configuration.RdCreates a query logging configuration for the specified workspace. This operation enables logging of queries that exceed the specified QSP threshold.
See https://www.paws-r-sdk.com/docs/prometheusservice_create_query_logging_configuration/ for full documentation.
Usage
prometheusservice_create_query_logging_configuration(
workspaceId,
destinations,
clientToken = NULL
)Arguments
- workspaceId
[required] The ID of the workspace for which to create the query logging configuration.
- destinations
[required] The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
- clientToken
(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.