Menu
Amazon CloudWatch Logs
User Guide

View Log Data Sent to CloudWatch Logs

You can view and scroll through log data on a stream-by-stream basis as sent to CloudWatch Logs by the CloudWatch Logs agent. You can specify the time range for the log data you want to view.

To view log data

  1. Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  2. In the navigation pane, choose Logs.

  3. For Log Groups, choose the log group to view the streams.

  4. For Log Streams, choose the log stream name to view the log data.

  5. To change how the log data is displayed, do one of the following:

    • To expand all log events, above the list of log events, choose Expand all.

    • To expand all log events and view them as plain text, above the list of log events, choose Text.

    • To filter the log events, type the desired search filter in the search field. For more information, see Searching and Filtering Log Data.

    • To view log data for a specified date and time range, above the list of log events, choose custom. You can choose Absolute to specify a date and time range or Relative to choose a predefined number of minutes, hours, days, or weeks. You can also switch between UTC and Local timezone.