Export OpenSearch dashboard
malcolm_dashboard_exportExport a dashboard's full saved-object JSON to inspect its panel layout and construction, using an ID from malcolm_saved_objects.
Instructions
Export one OpenSearch Dashboards dashboard as its full saved-object JSON.
Use this after malcolm_saved_objects — the only tool here that lists the
ids this takes — to read how a shipped dashboard is built. It resolves
ids as DASHBOARDS ONLY: given a visualization, saved-search or
index-pattern id it answers with a normal body carrying an embedded 404
at objects[0].error.statusCode instead of failing, so read the body
rather than treating a returned object as success. For those three types
use malcolm_saved_object_detail, which resolves them and hands back the
query already parsed; for network traffic rather than the Dashboards
catalogue use malcolm_search. Returns the export JSON — objects[] plus
an export version — panel layout included, which is what no other tool
here returns and why an export is large. Size follows panel count, so
it spans an order of magnitude: exporting every one of the 111 shipped
dashboards on Malcolm v26.07.1 gave 5 KB at the smallest and 130 KB at
the largest, with a 20 KB median. Budget for the tail, not the median.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dashboard_id | Yes | Saved-object id of a DASHBOARD, as carried by a malcolm_saved_objects row whose type is "dashboard". An id of any other saved-object type is not rejected here — it comes back as an embedded 404 inside an otherwise normal response body. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |