CmdID

CmdID / aws / aws logs

aws logs list-log-groups

Returns a list of log groups in the Region in your account. AWS CLI reference

9 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

9 in the AWS CLI reference
--account-identifiersWhen includeLinkedAccounts is set to true, use this parameter to specify the list of accounts to search.
--data-sourcesAn array of data source filters to filter log groups by their associated data sources.
--field-index-namesAn array of field index names to filter log groups that have specific field indexes.
--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 log groups to return.
--log-group-classUse this parameter to limit the results to only those log groups in the specified log group 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.
--log-group-tagsAn array of tag filters to return only log groups that have specific tags.
--next-tokenThe token for the next set of items to return.