List Log Groups For Query
cloudwatchlogs_list_log_groups_for_query | R Documentation |
Returns a list of the log groups that were analyzed during a single CloudWatch Logs Insights query¶
Description¶
Returns a list of the log groups that were analyzed during a single
CloudWatch Logs Insights query. This can be useful for queries that use
log group name prefixes or the filterIndex
command, because the log
groups are dynamically selected in these cases.
For more information about field indexes, see Create field indexes to improve query performance and reduce costs.
Usage¶
cloudwatchlogs_list_log_groups_for_query(queryId, nextToken, maxResults)
Arguments¶
queryId |
[required] The ID of the query to use. This query ID is from the
response to your |
nextToken |
|
maxResults |
Limits the number of returned log groups to the specified number. |
Value¶
A list with the following syntax:
list(
logGroupIdentifiers = list(
"string"
),
nextToken = "string"
)
Request syntax¶
svc$list_log_groups_for_query(
queryId = "string",
nextToken = "string",
maxResults = 123
)