Dashboards
Dashboards combine visualizations from logs, traces, and metrics into a single view. You can use dashboards to monitor operational health, respond to incidents, and track resource utilization across your distributed system.
The following table describes common use cases for dashboards.
| Use case | Example |
|---|---|
| Operational monitoring | Track service health, throughput, and error rates in real time. |
| Incident response | Correlate logs, traces, and metrics during an active incident. |
| Capacity planning | Monitor resource utilization trends to plan for scaling. |
| Availability tracking | Measure uptime and availability against service-level objectives. |
| Post-incident review | Analyze historical data to understand the root cause of past incidents. |
Topics
Dashboard structure
A dashboard is a collection of panels arranged on a grid. Each panel consists of the following components.
-
Data source – The OpenSearch index or Amazon Managed Service for Prometheus data source that the panel queries.
-
Query – A PPL or PromQL query that retrieves the data for the panel.
-
Visualization type – The chart type used to render the query results, such as line, bar, or metric value.
-
Optional configuration – Axes, legends, thresholds, and formatting options.
The time range picker at the top of the dashboard applies to all panels. You can override the time range for individual panels when needed.
Building dashboards from Discover
The recommended workflow for building dashboards starts in Discover. This workflow is consistent across logs, traces, and metrics.
-
Query your data in Discover – Navigate to Discover Logs, Discover Traces, or Discover Metrics and write a query using PPL (for logs and traces) or PromQL (for metrics).
-
Build a visualization – When your query returns results, use the visualization tab to choose a chart type and configure the display. For log and trace queries, aggregation commands like
statsautomatically switch to the visualization view. -
Save to a dashboard – Choose Add to dashboard to save the visualization to a new or existing dashboard. The panel stays live, updating as new data arrives.
-
Iterate – Repeat for each question you want the dashboard to answer. When something looks wrong on a dashboard, choose any panel to open the underlying query in Discover for further investigation.
Visualizations created through the Visualizations page in OpenSearch UI use DQL (Dashboards Query Language) and DSL (Domain Specific Language), which do not support Piped Processing Language (PPL) at this time. To create PPL-based visualizations, use the Discover workflow described above.
Dashboard filters
Filters let you narrow the data displayed across all panels on a dashboard without editing individual queries.
To add a filter
-
Open the dashboard you want to filter.
-
Choose Add filter in the filter bar.
-
Select a field name from the dropdown list.
-
Select an operator and enter a value.
-
Choose Save.
The following table describes common filter use cases.
| Scenario | Field | Operator | Value |
|---|---|---|---|
| View a single environment | environment |
is |
production |
| Isolate errors | status_code |
is greater than or equal to |
400 |
| Focus on a specific service | service.name |
is |
order-service |
| Exclude health checks | http.url |
is not |
/health |
Pinned compared to unpinned filters – A pinned filter persists when you navigate between dashboards. An unpinned filter applies only to the current dashboard. To pin a filter, choose the pin icon next to the filter badge.