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¶
cloudwatchlogs_describe_queries(logGroupName, status, maxResults,
  nextToken, queryLanguage)
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   | 
maxResults | 
Limits the number of returned queries to the specified number.  | 
nextToken | 
|
queryLanguage | 
Limits the returned queries to only the queries that use the specified query language.  | 
Value¶
A list with the following syntax:
list(
  queries = list(
    list(
      queryLanguage = "CWLI"|"SQL"|"PPL",
      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",
  queryLanguage = "CWLI"|"SQL"|"PPL"
)