---
title: "Dashboard creation with OpsAI"
description: "Learn how Middleware provides visibility into Amazon ECS workloads, including tasks, task definitions, services, containers, and clusters."
section: "Dashboard Builder"
breadcrumb: "Dashboard Builder > Dashboard Builder with AI"
canonical: "https://docs.middleware.io/features/opsai/dashboard-creation"
---
# Dashboard creation with OpsAI

Middleware’s AI dashboard builder lets you create complete dashboards or individual widgets using plain-English prompts. Instead of [manually configuring the dashboard](/features/dashboards/builder), you can describe what you want to monitor, and the AI generates a production-ready layout with relevant widgets.

## Before you begin

To generate meaningful dashboards, Middleware must already be receiving the underlying telemetry.

- **Integrations must be connected** (for example, Kubernetes, AWS, NGINX, Postgres).
- **APM and framework dashboards require instrumentation**. If the application is not instrumented and traces are not being ingested, AI cannot create accurate APM widgets for that service.
- **Logs and metrics dashboards require ingestion**. If logs or metrics are not coming in for the selected environment, widgets may appear with no data.

If you see empty graphs or “No data found”, first confirm data ingestion and then adjust the time range.

[Embedded content](https://www.loom.com/embed/dd5bdc985b094d3d91714cdf00d66ddd)

## Create a dashboard using a prompt

#### 1 Go to Dashboards → Create dashboard

![Create a Dashboard](/images/v2/dashboard-builder/ai-dashboard/create-new-dashboard.webp)

#### 2 Now you will be asked to name the dashboard, and optionally you can provide a description as well:

![Create a Dashboard](/images/v2/dashboard-builder/ai-dashboard/create-new-dashboard-2.webp)

#### 3 In the prompt box, describe your monitoring objective, for example:

- “Create widgets that provide a clear overview of log activity, error behaviour, and anomaly patterns across all services.”
- “Create a Kubernetes health dashboard for nodes, pods, CPU, memory, and network.”

  ![Dashboard Prompt Box](/images/v2/dashboard-builder/ai-dashboard/dashbaord-prompt-box.webp)

#### 4 Submit the prompt.

Once generated, the dashboard appears with:

- A set of widgets is laid out automatically
- An AI summary panel describing what was created and why
- Standard dashboard actions like Update, time range selection (for example, **Past week**), **Add Widget**, and **Export Dashboard**

  ![Middleware Dashboard creation with OpsAI: Dashboard Standard](/images/v2/dashboard-builder/ai-dashboard/standard-dashboard.webp)

## Create a Specific Widget Inside an Existing Dashboard

You can also build widgets incrementally.

1. Open an existing dashboard.
2. In the AI prompt panel, describe the widget you want, for example:

   - “Add a widget for log volume by service.”
   - “Add an errors by service widget for the last week.”

     ![Dashboard Standard Widget](/images/v2/dashboard-builder/ai-dashboard/specific-widget.webp)
3. Submit the prompt.

The new widget is added to the dashboard, and the AI panel confirms what was created, so you can continue iterating.

## Filtering in AI dashboards

Filters help you narrow the data shown across all widgets in the dashboard.

![Middleware Dashboard creation with OpsAI: Dashboard Filters](/images/v2/dashboard-builder/ai-dashboard/filters-ai-dashboards.webp)

### Add a filter

1. Click Add Filter.
2. Choose an attribute (you can search attributes), for example:

   - `severityNumber`
   - `service.name`
   - `traceId`
   - `spanId`
   - `severityText`
   - `is_anomaly`
3. Select one or more filter values (you can search for values).
4. Close the filter picker to apply.

### Add Multiple Filters

- Use **Add Filter** again to stack more conditions and narrow the dashboard further.
- Use the **Filter/Search** bar to quickly find by name, tag, label, or annotation.

> **Note:** If you are building a dashboard for logs, filtering by attributes like `service.name` and `severityNumber` is an easy way to isolate noisy services or focus only on high-severity events.

Need assistance or want to learn more about Middleware? Get in touch with us via our Contact Us page or join our Slack channel.
