迁移至 Kibana Spaces | Elastic Blog
工程

如何迁移至 Kibana Spaces

Spaces

Kibana 6.5 Spaces 使访便使 Kibana

Spaces Kibana Default便

使 Kibana / UI使/ UI

Management>Saved ObjectExport便 JSON

Export Saved ObjectI

使

Change Space

Management>Saved ObjectImport JSON

Import Saved Object

便 Elasticsearch

Spaces

使 Elasticsearch Kibana Kibana Spaces 使/ UIManagement>Saved ObjectsExport

Export all Saved Objects

JSON

Kibana Management>Saved ObjectsImports JSON

Kibana 使/ UI/ UI使/ API

ID URL/app/kibana#/dashboard/?便 ID URL 便 ID

http://localhost:5601/s/marketing/app/kibana#/dashboard/<b>d203dd90-deac-11e8-869e-d73106bbd5ad</b>?_g=()

使 URL URL URL URL /s//app/kibana#dashboard URL /s/Kibana URL API URL使/s/{spaceID}使使 URL 便 URL

http://localhost:5601/s/<b>marketing</b>/app/kibana#/dashboard/d203dd90-deac-11e8-869e-d73106bbd5ad?_g=()

ID 便{spacePrefix}/api/kibana/dashboards/export?dashboard={dashboardID}GET使 CURL ID d203dd90-deac-11e8-869e-d73106bbd5admarketing export.json

curl -u elastic:changeme http://localhost:5601/s/marketing/api/kibana/dashboards/export?dashboard=d203dd90-deac-11e8-869e-d73106bbd5ad > export.json

CURL ID d203dd90-deac-11e8-869e-d73106bbd5ad export.json

curl -u elastic:changeme http://localhost:5601/api/kibana/dashboards/export?dashboard=d203dd90-deac-11e8-869e-d73106bbd5ad > export.json

URL 便 URL 使 URL

<{spacePrefix}/api/kibana/dashboards/import export.json POST CURL sales

curl -H &#x201C;Content-Type: application/json&#x201D; -H &#x201C;kbn-xsrf: true&#x201D; -u elastic:changeme http://localhost:5601/s/sales/api/kibana/dashboards/import --data-binary @export.json

CURL

curl -H &#x201C;Content-Type: application/json&#x201D; -H &#x201C;kbn-xsrf: true&#x201D; -u elastic:changeme http://localhost:5601/api/kibana/dashboards/import --data-binary @export.json

Kibana Spaces Spaces 使 Kibana Spaces 使 Spaces