grafana/docs/sources/panels/query-a-data-source/download-raw-query-results.md
Christopher Moyer 449c608ef1
Docs/panel refactor (#43569)
* new refactored panel docs

* fixed links

* removed xtra sharing link, added links to panel display option tasks

* fixed typo

* add aliases

* incorporate PM feedback

* intermediate commit to resolve merge conflict

* final changes to resolve merge conflicts
2022-01-18 15:06:27 -06:00

1.3 KiB

+++ title = "Download raw query results" weight = 70 aliases = ["/docs/sources/panels/query-a-data-source/download-raw-query-results/"] +++

Download raw query results

Grafana generates a CSV file that contains your data, including any transformations to that data. You can choose to view the data before or after the panel applies field options or field option overrides.

Before you begin

  • [Add a panel to a dashboard]({{< relref "../working-with-panels/add-panel.md" >}}).
  • [Add a query]({{< relref "../query-a-data-source/add-a-query.md" >}}).

To download raw query results:

  1. Edit the panel that contains the query data you want to download.

  2. In the query editor, click Query Inspector.

  3. Click Data.

    If your panel contains multiple queries or queries multiple nodes, then you have additional options.

    • Select result: Choose which result set data you want to view.
    • Transform data
    • Join by time: View raw data from all your queries at once, one result set per column. Click a column heading to reorder the data.
  4. To see data before the system applies field overrides, click the Formatted data toggle.

  5. To download a CSV file specifically formatted for Excel, click the Download for Excel toggle .

  6. Click Download CSV.