Kibana 스페이스로 마이그레이션하기 | Elastic Blog
엔지니어링

Kibana 스페이스로 마이그레이션하는 방법

Kibana 6.5 , , . , Kibana .

Kibana , . .

Kibana / UI . / UI . .

, > . JSON .

Export Saved ObjectI

, .

Change Space

> . . JSON .

Import Saved Object

. Elasticsearch . . . .

Kibana Elasticsearch Kibana , / UI . > , .

Export all Saved Objects

JSON .

, Kibana . > , JSON . .

, Kibana 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/ , . API URL Kibana URL /s/{spaceID} . . URL URL .

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

ID , CURL {spacePrefix}/api/kibana/dashboards/export?dashboard={dashboardID} GET . ID d203dd90-deac-11e8-869e-d73106bbd5ad 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 .

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

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 . Kibana . .