Add Esql Table Panel
add_esql_table_panelAdd an ES|QL table panel to an existing Kibana dashboard to display query output as a table, with grouping columns per row and optional numeric metric columns.
Instructions
Add an ES|QL table panel to an existing dashboard: show a query's
output columns as a table. columns are the grouping/dimension
columns — one table row per distinct value (e.g. ["status"]);
metric_columns are the numeric value columns shown per row (e.g.
["count"]). esql is the query. It is NOT validated server-side — a
wrong query or column name yields an empty panel, so write them
carefully. For field-based charts use add_panel with a VizSpec.
dashboard_id comes from search_dashboards.
space targets a Kibana space by id (default: the default space).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dashboard_id": "<dashboard_id>",
"title": "<title>",
"esql": "<esql>",
"columns": "<columns>"
},
"name": "add_esql_table_panel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| esql | Yes | ||
| space | No | ||
| title | Yes | ||
| columns | Yes | ||
| dashboard_id | Yes | ||
| metric_columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||