Assign Dashboard to Space


(Marc) #1

ELK 6.5 Windows

How does one assign Dashboards to Spaces? If it's there it's well hidden...

Also, the experimentel spaces API is returning only 404:

GET /api/spaces/space
{
  "error" : {
    "root_cause" : [
      {
        "type" : "index_not_found_exception",
        "reason" : "no such index",
        "resource.type" : "index_expression",
        "resource.id" : "api",
        "index_uuid" : "_na_",
        "index" : "api"
      }
    ],
    "type" : "index_not_found_exception",
    "reason" : "no such index",
    "resource.type" : "index_expression",
    "resource.id" : "api",
    "index_uuid" : "_na_",
    "index" : "api"
  },
  "status" : 404
}

(Marc) #2

OK, I've found this documentation which says:

  1. Export saved objects from Space A
  2. Switch to space B
  3. Import saved objects (with overwrite)

You need to do this for all objects (e.g. saved searches and visualizations) and not just dashboards.


(Brandon Kobel) #3

Hey @cawoodm, the following blog post walks you through how to use the Dashboard Import/Export APIs to do this a little easier: https://www.elastic.co/blog/how-to-migrate-to-kibana-spaces