/observePre-1.0
GitHubGet started

Migrate

Coming from Grafana, Kibana or OpenSearch Dashboards?

Connect the stores you already have and keep the habits you already have. A Grafana comes across one dashboard at a time with every query checked. An Elasticsearch or OpenSearch index connects as it is, and the KQL you typed in Discover runs here. Nothing is written back to any of them.

34Grafana panel types with importable options, legacy ones included
100%of the public test corpus converts with no placeholder and nothing left behind

Generated from the importer's test corpus and option catalogs at each release. Never typed.

The move

The move, in the order that works.

Grafana first, one dashboard at a time with every query checked, then the Elasticsearch and OpenSearch clusters your Discover tab searched.

Connect

Connect a Grafana with a read-only token.

Admins open Settings and choose Grafana connection, then give it a Grafana URL and a service account token with the Viewer role on the folders to import. The test counts top-level folders and dashboards; the import form shows each Grafana datasource beside its match.

observe.example.com/settings/grafana
Settings
IntegrationsGrafana connection
Grafana connectionConnect a Grafana server and import its dashboards with their folders.
Add connection
ConnectionsA Grafana URL and a service account token with the Viewer role on the folders to import.
NameURLLast testLast importActions
prodhttps://grafana.internalConnected: 14 top-level folders, 212 dashboards.2 min agoNeverTestImport…
The token is stored encrypted and is never shown again.
Import from prodChoose what to bring over and check the datasource matches.
FoldersAll folders (212 dashboards)Choose folders
Datasources
In GrafanaTypeUse in SlashObserve
Prometheus mainprometheusprom (Prometheus)
ClickHouse eventsgrafana-clickhouse-datasourcech (ClickHouse)
3 datasources have types SlashObserve does not query; their panels import as placeholders.
Start importCancel
Import

Every dashboard comes across, every query checked.

Choose Import, then All folders and Start import. Every dashboard comes across with its tags, variables and links, every imported query runs, and the results list what failed, what needs repair, what imported and what was skipped. A nested folder path is kept as one folder titled Parent / Child. A second run skips dashboards unchanged in Grafana and saves a new version of those that changed; your edits stay in the version history. The same connect and import are observe grafana verbs, so a migration can run from CI or a runbook and be repeated.

observe.example.com/settings/grafana
Import progressEach connection keeps its last 20 imports.
Finished212 of 212 dashboards0 failed, 0 skipped
Need repair (4)
  • Spanmetrics Demo Dashboard3 unverified, 0 placeholders
  • Linux5 unverified, 0 placeholders
  • OpenTelemetry Collector2 unverified, 3 placeholders
  • Cart Service Exemplars0 unverified, 4 placeholders
Open the repair queue
zsh
$ printf '%s' "$GRAFANA_TOKEN" | observe grafana connect \ https://grafana.internal --token-stdin --name prodConnected prod: 0b6f2c1e-7d4a-4f3b-9a51-2c8e6d1f0a37Connected: 14 top-level folders, 212 dashboards. $ observe grafana import 0b6f2c1e-7d4a-4f3b-9a51-2c8e6d1f0a37 --all212 done, 0 skipped, 0 failed of 2123 dashboards have panels that did not verify # They wait in the repair queue, worked by the agent.
Repair

What did not verify waits in a repair queue.

Panels whose queries fail are marked unverified, never hidden, and wait in a repair queue; placeholders are listed for you to redo by hand. Repair with the agent rewrites their queries and saves a version you can diff, and Repair all queues every listed dashboard.

observe.example.com/dashboards?kind=imported
DashboardsLast checked 34 min agoRun now
Filter by titleMade by: anyoneDatasource: anyFolder: anyProblem: Imported, not verifiedTags: any
Imported dashboards whose panels or variables failed their queries, or hold placeholders. A dashboard leaves this list once nothing in it fails.Repair all
DashboardFolderUnverifiedPlaceholdersImportedRepairActions
Spanmetrics Demo DashboardAstronomy Shop / Services3 panels02 h agoRepairingRepair with the agent
LinuxInfra5 panels, 1 variable02 h agoRepair queuedRepair with the agent
Demo DashboardAstronomy Shop / Services1 panel02 h agoRepaired, still failing12 min agoRepair with the agent
OpenTelemetry CollectorObservability2 panels32 h agoRepair failed1 h agoRepair with the agent
Self-ObservabilityAstronomy Shop / Services1 panel02 h agoNot requestedRepair with the agent
Cart Service ExemplarsInfraNone42 h agoNot requestedRepair with the agent
Clusters

Elasticsearch and OpenSearch connect as they are.

A datasource reads the indices your Discover data view did: a pattern such as logs-*, a data stream or an alias, with its time field. Basic auth, a bearer token or an API key. Elasticsearch 8 and 9, OpenSearch 2 and 3; the health check tells a wrong type, an unsupported version, an empty pattern and a missing time field apart.

Saved objects are not imported. Dashboards, saved searches and visualizations from Kibana or OpenSearch Dashboards stay where they are; describe the dashboard you want and the agent builds it against the same index.

observe.example.com/datasources
DatasourcesWhere dashboards and the agent read data from. Entries from the datasources file and the built-in audit trail are read only; the ones you add here can be changed.
How datasources workAdd datasource
NameTypeStatusUsed byCheckedActions
PrometheuspromPrometheusFrom fileHealthy1 dashboard2 min agoRecheckExplore metrics
ClickHousechClickHouse, read onlyFrom fileHealthy1 dashboard2 min agoRecheckExplore logsSearch traces
LokilokiLokiFrom fileHealthyNo dashboards2 min agoRecheckExplore logs
TempotempoTempoFrom fileHealthyNo dashboards2 min agoRecheckSearch traces
JaegerjaegerJaegerFrom fileHealthyNo dashboards2 min agoRecheckSearch traces
ElasticsearchesElasticsearchFrom fileHealthyNo dashboards2 min agoRecheckExplore logs
OpenSearchosOpenSearchFrom fileHealthyNo dashboards2 min agoRecheckExplore logs
Audit trailOnly Adminsslashobserve-auditOpenSearchBuilt inHealthy4 dashboards2 min agoRecheckExplore logs
Addresses and users are shown only to Admins, and passwords, tokens and header values never leave the server.
KQL

Type the KQL you typed in Discover.

The server compiles KQL to Query DSL. It is a strict subset of Kibana's KQL, so a query Kibana accepts may be refused, with the mistake marked at the character. Start with lucene: for Lucene, or paste a {...} body for the Query DSL, aggregations included. Paste a Discover link and the page fills in the query, the time range, the columns and the filters it can apply, and says what it left out; the browser reads the link itself.

observe.example.com/logs/prod-es
LogsElasticsearch prodKQL
1service.name:checkout and log.level:error

Filled from a Discover link: query, time range, 2 columns. 1 filter from the URL was not applied. Dismiss

+ Add filterRun query
service.name:checkout and log.level:errorlucene:service.name:checkout AND NOT log.level:info{"query": {"match_phrase": {"message": "Invalid token"}}}

Coverage

What maps, what changes, what waits.

How each Grafana feature comes across. The numbers above are generated from the importer at every release; this table describes the mapping.

Grafana featureStatusWhat happens on import
Time series, stat, gauge, bar gauge, table, text, logs, tracesMapsEach becomes the matching ObserveSpec panel with its units, thresholds, overrides and legend, when its datasource is Prometheus, ClickHouse, Loki or Tempo.
Template variablesMapsNames and formats are kept, so $job and ${job:regex} expand as before.
TransformsMapsOrganize, merge, reduce, filter, group by, join and the rest of the table. An unsupported transformation is dropped and reported at its path; the panel imports as partial.
Rows and collapsed rowsMapsRows become row panels; collapsed state and repeat are kept.
Elasticsearch and OpenSearch panelsChangesA logs panel imports its Lucene query as a line query. A count over time keeps its query. Other metrics and bucket aggregations become a Query DSL body the panel runs as is. A geohash grid or a PPL query is dropped and the reason is listed. Terms variables become label_values(...).
Folders, tags, dashboard linksChangesA nested folder becomes one folder titled Parent / Child. Tags are lowercased and capped at 20. Links to an address and links by tag are kept.
Gradient gauges and cellsChangesA gradient bar gauge imports as the basic bar. Gradient table backgrounds and gauges, and the sparkline gradient mode, are drawn flat.
Stat colour mode "value"ChangesThe threshold colour pairs with an icon and a word instead of colouring the digits, so warning stays readable on white.
Third-party plugin panelsChangesWorldmap, singlestat, the pie chart plugin and the discrete panel become native geomap, stat or gauge, pie chart and state timeline panels. Any other plugin imports as a placeholder that keeps its title and layout; the original dashboard JSON stays with the import record.
AnnotationsWaitsAnnotation queries are reported and not imported; built-in annotations are skipped. Add markers with observe annotate or the API.
Alert rules, contact points, silencesWaitsAlert rules are not part of SlashObserve, so they are not imported. Keep Alertmanager or Grafana alerting running beside it.
Other datasourcesWaitsPanels on a datasource type SlashObserve does not query (InfluxDB, CloudWatch and others, and Grafana panels on a Jaeger datasource) import as placeholders that keep the title, layout and reason. The original dashboard JSON stays with the import record.

Bring the dashboards this afternoon. Keep the queries you know.

Point it at a Grafana you can read, or at the index pattern your Discover tab uses. Nothing is written back.

Import guide