Install the Google Sheets data source plugin for Grafana
You can any of the following sets of steps to install the Google Sheets data source plugin for Grafana.
Install from plugin catalog
To install the plugin from the plugin catalog:
- Sign in to Grafana as a server administrator.
- Click Administration > Plugins and data > Plugins in the side navigation menu to view all plugins.
- Type Google Sheets in the Search box.
- Click the All in the State filter option.
- Click the plugin logo.
- Click Install.
Install from the Grafana plugins page
To install the plugin from the Grafana plugins page, browse to the Google Sheets data source plugin and follow the instructions provided there.
Install from GitHub
To install the plugin from GitHub:
Browse to the plugin GitHub releases page.
Find the release you want to install.
Download the release by clicking the release asset called
grafana-googlesheets-datasource-<VERSION>.zip
whereVERSION
is the version of the plugin you want to install. You may need to un-collapse the Assets section to see it.Extract the plugin into the Grafana plugins directory:
On Linux or macOS, run the following commands to extract the plugin:
unzip grafana-googlesheets-datasource-<VERSION>.zip mv grafana-googlesheets-datasource /var/lib/grafana/plugins
On Windows, run the following command to extract the plugin:
Expand-Archive -Path grafana-googlesheets-datasource-<VERSION>.zip -DestinationPath C:\grafana\data\plugins
Restart Grafana.
Install using grafana-cli
To install the plugin using grafana-cli
:
On Linux or macOS, open your terminal and run the following command:
grafana-cli plugins install grafana-googlesheets-datasource
On Windows, run the following command:
grafana-cli.exe plugins install grafana-googlesheets-datasource
Restart Grafana.
Install a custom version
If you need to install a custom version of the plugin using grafana-cli
, use the --pluginUrl
option.
grafana-cli --pluginUrl <ZIP_FILE_URL> plugins install grafana-googlesheets-datasource
For example, to install version 1.2.10
of the plugin on Linux or macOS:
grafana-cli --pluginUrl https://github.com/grafana/google-sheets-datasource/releases/download/v1.2.10/grafana-googlesheets-datasource-1.2.10.zip plugins install grafana-googlesheets-datasource
Or to install version 1.2.10
of the plugin on Windows:
grafana-cli.exe --pluginUrl https://github.com/grafana/google-sheets-datasource/releases/download/v1.2.10/grafana-googlesheets-datasource-1.2.10.zip plugins install grafana-googlesheets-datasource