Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion explore-analyze/dashboards/sharing.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Share a dashboard with others, or export its contents for reporting, backup, or
- [Export as PDF or PNG](#export-dashboard-pdf-png): Generate a report file of the dashboard.
- [Download visualization data as CSV](#download-csv): Download the data from a visualization as a CSV file.
- [Export JSON](#export-dashboards): Export the dashboard's definition as a JSON file to back it up, move it, or manage it as code.
- [Export a panel as JSON](#export-panel-json): Export a supported panel's configuration to inspect or save it.

You can also [set whether other users of your space can edit dashboards you own](#manage-dashboard-access).

Expand Down Expand Up @@ -133,6 +134,29 @@ You can still use the NDJSON export on later versions, but the API-compatible JS

:::::

## Export a panel as JSON [export-panel-json]
```{applies_to}
stack: preview 9.6+
serverless: preview
```

Export a supported panel's configuration as JSON. The **Export JSON** option is available for **Lens** visualizations, **Links** and **Markdown** panels, and **Options list**, **Range slider**, and **ES|QL** controls.
Comment thread
florent-leborgne marked this conversation as resolved.
Outdated

Dashboard-level filters and the global time range affect the data displayed by the panel, but the export excludes them. The export includes filters, queries, and custom time ranges configured in the panel.

1. On the dashboard, from the panel menu, select **Export JSON**. When the menu contains an **Export** submenu, select **Export** → **Export JSON** instead.

:::{image} /explore-analyze/images/dashboard-panel-menu-export-json.png
:alt: Dashboard panel menu with the Export JSON option highlighted
:screenshot:
:width: 90%
:::

2. Review the JSON source in the flyout. For a panel linked to the library, the export shows the library reference by default. Turn on **Show full configuration** to export the panel's full configuration instead of its library reference.
3. Select **Copy to clipboard** to copy the JSON, or **Download JSON** to save it to a file.
Comment thread
florent-leborgne marked this conversation as resolved.
Outdated

A panel export contains only the panel configuration, not a complete dashboard definition. To export the dashboard or open a pre-populated Dashboards API request in Console, use [dashboard JSON export](#export-dashboard-json).

## Set edit permissions [manage-dashboard-access]
```{applies_to}
serverless: ga
Expand All @@ -150,4 +174,4 @@ As the owner of a dashboard or {{kib}} administrator, you can control whether ot
:::

:::{include} ../_snippets/dashboard-ownership.md
:::
:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading