add_esql_xy_panel
Add an ES|QL bar, line, or area panel to an existing Kibana dashboard by specifying the query, x-axis column, y-axis columns, and optional breakdown column.
Instructions
Add an ES|QL bar/line/area panel to an existing dashboard:
x_column on the x axis, each of y_columns a plotted series, and an
optional breakdown_column to split each series. esql is the query.
It is NOT validated server-side — a wrong query or column name yields
an empty panel. For field-based charts use add_panel with a VizSpec.
space targets a Kibana space by id (default: the default space).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| esql | Yes | ||
| space | No | ||
| title | Yes | ||
| x_column | Yes | ||
| y_columns | Yes | ||
| chart_type | No | bar | |
| dashboard_id | Yes | ||
| breakdown_column | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||