Files
grafana/docs/sources/installation/migrating_to2.md
2015-03-13 10:20:39 +01:00

1.5 KiB

page_title page_description page_keywords
Migrating from v1.x to 2.x Migration guide for Grafana v1.x to v2.x grafana, installation, migration, documentation

Migrating from v1.x to v2.x

Grafana 2.x is pretty different from v1.x in that Grafana 2.x has its own backend and its own database to store dashboards and users in.

Adding Data sources

Data sources in Grafana v2.0 are no longer configured via the config.js file. That config file is no more. You add data sources via UI or via the HTTP API. Go the Data Sources view via the side menu. The side menu can be toggled via the Grafana icon in the top header (to the right).

Importing dashboards

From Elasticsearch

Start by going to the Data Sources view and add your elasticsearch datasource. Specify the elasticsearch index name where your Grafana v1.x dashboards are stored, default is grafana-dash.

From InfluxDB

Start by going to the Data Sources view and add your influxdb datasource. Specify the database name where your Grafana v1.x dashboards are stored, default is grafana.

Go to Import dashboards view

Go to the Dashboards view and click on the dashboards search dropdown. At the bottom of the search dropdown you find the Import button.

Import view

In the Import view you find the section Migrate dashboards. Pick the datasource you added (Elasticsearch or InfluxDB) and click the Import button.