aws logs list-log-groups-for-query
Returns a list of the log groups that were analyzed during a single CloudWatch Logs Insights query. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--max-resultsLimits the number of returned log groups to the specified number.--next-tokenThe token for the next set of items to return.--query-idThe ID of the query to use.