Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ First open the CloudWatch Log Insights console:

Near the top of the screen is the query editor. When you first open CloudWatch Logs Insights this box contains a default query that returns the 20 most recent log events.

When you select a log group and run the query, CloudWatch Logs Insights automatically detects fields in the data in the log group and displays them in **Discovered fields** in the right pane. It also displays a bar graph of log events in this log group over time. This bar graph shows the distribution of events in the log group that matches your query and time range, not only the events displayed in the table. Select the log group for your EKS cluster that ends with `/performance`.
When you select a log group and run the query, CloudWatch Logs Insights automatically detects fields in the data in the log group and can be displayed in **Discovered fields** section that is below the query. It also displays a bar graph of log events in this log group over time. This bar graph shows the distribution of events in the log group that matches your query and time range, not only the events displayed in the table. Select the log group for your EKS cluster that ends with `/performance`.

In the query editor, replace the default query with the following query and choose **Run query.**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ Choose the dashboard **Order-Service-Metrics** to review the panels within the d

![Application Metrics](/docs/observability/container-insights/dashboard-metrics.webp)

We can see how the dashboard was configured to query CloudWatch by hovering over the title of the "Orders by Product" panel and clicking the "Edit" button:
We can see how the dashboard was configured to query CloudWatch by hovering over the title of the "Orders by Product" panel and open the kebab menu (3 vertical dots), then select edit to have the following view:

![Edit Panel](/docs/observability/container-insights/dashboard-edit-metrics.webp)

The query used to create this panel is displayed at the bottom of the page:
The query used to create this panel is as follows:

```text
SELECT COUNT(watch_orders_total) FROM "ContainerInsights/Prometheus" WHERE productId != '*' GROUP BY productId
Expand Down
Binary file modified website/static/docs/observability/container-insights/query1.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified website/static/docs/observability/container-insights/query2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading