Viewing CloudWatch log groups and log streams by using the AWS Toolkit for JetBrains - AWS Toolkit for JetBrains

Viewing CloudWatch log groups and log streams by using the AWS Toolkit for JetBrains

A log stream is a sequence of log events that share the same source. Each separate source of logs into CloudWatch Logs makes up a separate log stream.

A log group is a group of log streams that share the same retention, monitoring, and access control settings. You can define log groups and specify which streams to put into each group. There is no limit on the number of log streams that can belong to one log group.

For more information, see Working with Log Groups and Log Streams in the Amazon CloudWatch User Guide.

Viewing log groups and log streams with the CloudWatch Logs node

  1. Open AWS Explorer, if it isn't already open.

  2. Click the CloudWatch Logs node to expand the list of log groups.

    The log groups for the current AWS Region are displayed under the CloudWatch Logs node.

  3. To view the log streams in a log group, do one of the following:

    • Double-click the name of the log group.

    • Right-click the name of the log group, and then choose View Log Streams.

    The log group's contents are displayed in the Log Streams pane. For information about interacting with the log events in each stream, see Working with CloudWatch log events.

    Viewing log streams in a CloudWatch log group in AWS Explorer

Viewing log streams with the Lambda node

You can view CloudWatch Logs for AWS Lambda functions by using the Lambda node in AWS Explorer.

Note

You can also view log streams for all AWS services, including Lambda functions, using the CloudWatch Logs node in AWS Explorer. We recommend using the Lambda node, however, for an overview of log data specific to Lambda functions.

  1. Open AWS Explorer, if it isn't already open.

  2. Click the Lambda node to expand the list of Lambda functions.

    The Lambda functions for the current AWS Region are displayed beneath the Lambda node.

  3. Right-click a Lambda function, and then choose View Log Streams.

    The log streams for the function are displayed in the Log Streams pane. For information about interacting with the log events in each stream, see Working with CloudWatch log events.

Viewing log streams with the Amazon ECS node

You can view CloudWatch Logs for clusters and containers that are run and maintained in Amazon Elastic Container Service by using the Amazon ECS node in AWS Explorer

Note

You can also view log groups for all AWS services, including Amazon ECS, using the CloudWatch Logs node in AWS Explorer. We recommend using the Amazon ECS node, however, for an overview of log data specific to Amazon ECS clusters and containers.

  1. Open AWS Explorer, if it isn't already open.

  2. Click the Amazon ECS node to expand the list of Amazon ECS clusters.

    The Amazon ECS clusters for the current AWS Region are displayed beneath the Amazon ECS node.

  3. Right-click a cluster, and then choose View Log Streams.

    The log streams for the cluster are displayed in the Log Streams pane.

  4. To view log streams for a specific container, click a cluster to expand its list of registered containers.

    The containers registered for the cluster are displayed beneath.

  5. Right-click a container, and then choose View Container Log Stream.

    The log streams for the container are displayed in the Log Streams pane. For information about interacting with the log events for clusters and containers, see Working with CloudWatch log events.