Skip to main content

log_stream

Gets an individual log_stream resource

Overview

Namelog_stream
TypeResource
Descriptionlog_stream
Idawscc.logs.log_stream

Fields

NameDatatypeDescription
log_group_namestringThe name of the log group where the log stream is created.
log_stream_namestringThe name of the log stream. The name must be unique wihtin the log group.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
log_group_name,
log_stream_name
FROM awscc.logs.log_stream
WHERE data__Identifier = '<LogGroupName>|<LogStreamName>';

Permissions

To operate on the log_stream resource, the following permissions are required:

Read

logs:DescribeLogStreams

Delete

logs:DeleteLogStream