View running queries or query history - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

View running queries or query history

You can view the queries currently in progress as well as your recent query history.

Queries currently running includes queries you have added to a dashboard. You are limited to 30 concurrent CloudWatch Logs Insights queries per account, including queries added to dashboards.

To view your recent query history
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.

  2. In the navigation pane, choose Logs, and then choose Logs Insights.

  3. Choose History, if you are using the new design for the CloudWatch Logs console. If you are using the old design, choose Actions, View query history for this account.

    A list of your recent queries appears. You can run any of them again by selecting the query and choosing Run.

    Under Status, CloudWatch Logs displays In progress for any queries that are currently running.