Describe Queries
cloudwatchlogs_describe_queries | R Documentation |
Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account¶
Description¶
Returns a list of CloudWatch Logs Insights queries that are scheduled, running, or have been run recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.
Usage¶
Arguments¶
logGroupName
Limits the returned queries to only those for the specified log group.
status
Limits the returned queries to only those that have the specified status. Valid values are
Cancelled
,Complete
,Failed
,Running
, andScheduled
.maxResults
Limits the number of returned queries to the specified number.
nextToken
Value¶
A list with the following syntax:
list(
queries = list(
list(
queryId = "string",
queryString = "string",
status = "Scheduled"|"Running"|"Complete"|"Failed"|"Cancelled"|"Timeout"|"Unknown",
createTime = 123,
logGroupName = "string"
)
),
nextToken = "string"
)
Request syntax¶
svc$describe_queries(
logGroupName = "string",
status = "Scheduled"|"Running"|"Complete"|"Failed"|"Cancelled"|"Timeout"|"Unknown",
maxResults = 123,
nextToken = "string"
)