aws logs list-aggregate-log-group-summaries
Returns an aggregate summary of all log groups in the Region grouped by specified data source characteristics. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--account-identifiersWhen includeLinkedAccounts is set to true, use this parameter to specify the list of accounts to search.--data-sourcesFilters the results by data source characteristics to include only log groups associated with the specified data sources.--group-bySpecifies how to group the log groups in the summary.--include-linked-accountsIf you are using a monitoring account, set this to true to have the operation return log groups in the accounts listed in accountIdentifiers.--limitThe maximum number of aggregated summaries to return.--log-group-classFilters the results by log group class to include only log groups of the specified class.--log-group-name-patternUse this parameter to limit the returned log groups to only those with names that match the pattern that you specify.--next-tokenThe token for the next set of items to return.