Export OpenSearch dashboard
malcolm_dashboard_exportExports a dashboard's full saved-object JSON from its ID, including panel layout, to inspect how a shipped OpenSearch Dashboards dashboard is built.
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 across Malcolm's shipped dashboards.
Budget for the largest, not the typical one.
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 |