Reporting and sharing

Reporting and sharingedit

Kibana provides you with several options to share Discover saved searches, dashboards, Visualize Library visualizations, and Canvas workpads.

You access the options from the Share menu in the toolbar. The sharing options include the following:

  • PDF Reports — Generate and download PDF files of dashboards, visualizations, and Canvas workpads. PDF reports are a subscription feature.
  • PNG Reports — Generate and download PNG files of dashboards and visualizations. PNG reports are a subscription feature.
  • CSV Reports — Generate and download CSV files of saved searches. Certain limitations apply.
  • CSV Download — Generate and download CSV files of Lens visualizations.
  • Get links — Share direct links to saved searches, dashboards, and visualizations.
  • Download as JSON — Generate and download JSON files of Canvas workpads.
  • [beta] This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. Share on a website — Download and securely share Canvas workpads on any website.
  • Embed code — Embed fully interactive dashboards as an iframe on web pages.

For Elastic Cloud deployments, Kibana instances require a minimum of 2GB RAM to generate PDF or PNG reports. To change Kibana sizing, edit the deployment.

For more information on how to configure reporting in Kibana, refer to Configure reporting in Kibana

Create reportsedit

Create and download PDF, PNG, or CSV reports of saved searches, dashboards, visualizations, and workpads.

The layout and size of the report depends on what you are sharing. For saved searches, dashboards, and visualizations, the layout depends on the size of the panels. For workpads, the layout depends on the size of the worksheet dimensions.

To change the output size, change the size of the browser, which resizes the shareable container before the report generates. It might take some trial and error before you’re satisfied.

In the following dashboard, the shareable container is highlighted:

Shareable Container
  1. Open the main menu, then open the saved search, dashboard, visualization, or workpad you want to share.
  2. From the toolbar, click Share, then select the report option.

    • If you are creating dashboard PDFs, select Optimize for printing to create printer-friendly PDFs with multiple A4 portrait pages and two visualizations per page.

      When you create a dashboard report that includes a data table or saved search, the PDF includes only the visible data.

    • If you are creating workpad PDFs, select Full page layout to create PDFs without margins that surround the workpad.
  3. Generate the report.
  4. When the report generates, a message appears. On the message, click Download report.
  5. To view and manage reports, open the main menu, then click Stack Management > Reporting.

Reports are stored in Elasticsearch and managed by the kibana-reporting index lifecycle management (ILM) policy. By default, the policy stores reports forever. To learn more about ILM policies, refer to the Elasticsearch ILM documentation.

CSV reports limitationsedit

We recommend using CSV reports to export moderate amounts of data only. The feature enables analysis of data in external tools, but it is not intended for bulk export or to backup Elasticsearch data. Report timeout and incomplete data issues are likely if you are exporting data where:

  • More than 250 MB of data is being exported
  • Data is stored on slow storage tiers
  • Any shard needed for the search is unavailable
  • Network latency between nodes is high
  • Cross-cluster search is used
  • ES|QL is used and result row count exceeds the limits of ES|QL queries

To work around the limitations, use filters to create multiple smaller reports, or extract the data you need directly with the Elasticsearch APIs. See Scroll API, Point in time API, ES|QL or SQL with CSV response data format. Reporting parameters can be adjusted to overcome some of these limiting scenarios. Results are dependent on data size, availability, and latency factors and are not guaranteed.

Share direct linksedit

Create and share direct links to saved searches, dashboards, and visualizations. To access the shared object, authentication is required.

  1. Open the main menu, then open the saved search, dashboard, or visualization you want to share.
  2. From the toolbar, click Share, then select Get links.
  3. Specify how you want to generate the link:

    • To display only the current state of the object, select Snapshot.
    • To display up-to-date changes, select Saved object.
    • To generate a shortened link, select Short URL.
    • To automatically log in anonymous users when you have multiple authentication providers enabled, select Public URL.

      Permalink share menu with Public URL option highlighted

      Public URL is available only when anonymous access is configured and your anonymous service account has privileges to access what you want to share. For more information, refer to Anonymous authentication.

  4. Click Copy link.

Create JSON filesedit

Create and share JSON files for workpads.

  1. Open the main menu, then click Canvas.
  2. Open the workpad you want to share.
  3. From the toolbar, click Share, then select Download as JSON.

Share workpads on a websiteedit

[beta] This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. Create and securely share static Canvas workpads on a website. To customize the behavior of the workpad on your website, you can choose to autoplay the pages or hide the workpad toolbar.

  1. Open the main menu, then click Canvas.
  2. Open the workpad you want to share.
  3. Click Share > Share on a website.
  4. To customize the workpad behavior to autoplay the pages or hide the toolbar, use the inline parameters.

    To make sure that your data remains secure, the data in the JSON file is not connected to Kibana. Canvas does not display elements that manipulate the data on the workpad.

    Shareable workpads encode the current state of the workpad in a JSON file. When you make changes to the workpad, the changes do not appear in the shareable workpad on your website.

  5. To change the settings, click the settings icon, then choose the settings you want to use.

Embed codeedit

Display your dashboards on an internal company website or personal web page with an iframe. To embed other Kibana objects, manually create the HTML code.

For information about granting access to embedded dashboards, refer to Authentication.

  1. Open the main menu, then open the dashboard you want to share.
  2. Click Share > Embed code.
  3. Specify how you want to generate the code:

    • To display the current state, select Snapshot.
    • To display up-to-date changes, select Saved object.
    • Select the dashboard components you want to share.
    • To generate a shortened link, select Short URL.
    • To automatically log in anonymous users when you have multiple authentication providers enabled, select Public URL.

      Embed code share menu with Public URL option highlighted

      Public URL is available only when anonymous access is configured and your anonymous service account has privileges to access what you want to embed. For more information, refer to Anonymous authentication.

  4. Click Copy iFrame code.