aws logs describe-log-groups
Returns information about log groups, including data sources that ingest into each log group. 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.--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 items returned.--log-group-classUse this parameter to limit the results to only those log groups in the specified log group class.--log-group-identifiersUse this array to filter the list of log groups returned.--log-group-name-patternIf you specify a string for this parameter, the operation returns only log groups that have names that match the string based on a case-sensitive substring search.--log-group-name-prefixThe prefix to match.--next-tokenThe token for the next set of items to return.