We have Kibana 6.3.1
I want to export an existing Dashboard from this instance of Kibana so I can import it into another environment. Here is my export URL:
https://kibana.sideA.com/api/kibana/dashboards/export?dashboard=678d3d10-fe48-11e8-b9f4-6d81a2f86892
When I issue that from the browser, the system creates a json file with the following:
{
"version": "6.3.1",
"objects": [
{
"id": "678d3d10-fe48-11e8-b9f4-6d81a2f86892",
"type": "dashboard",
"error": {
"statusCode": 404,
"message": "Not found"
}
}
]
}
Not sure why it's not finding it when I use the Kibana tool itself, it produces this proper JSON:
[
{
"_id": "678d3d10-fe48-11e8-b9f4-6d81a2f86892",
"_type": "dashboard",
"_source": {
"title": "redis kubernetes instance status",
"hits": 0,
"description": "",
"panelsJSON": "[{"panelIndex":"1","gridData":{"x":0,"y":5,"w":24,"h":15,"i":"1"},"version":"6.3.1","type":"visualization","id":"220c88a0-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"3","gridData":{"x":0,"y":20,"w":24,"h":15,"i":"3"},"version":"6.3.1","type":"visualization","id":"488a5ac0-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"4","gridData":{"x":24,"y":5,"w":24,"h":15,"i":"4"},"version":"6.3.1","type":"visualization","id":"9ebed600-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"5","gridData":{"x":0,"y":35,"w":24,"h":15,"i":"5"},"version":"6.3.1","type":"visualization","id":"88874660-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"6","gridData":{"x":24,"y":20,"w":24,"h":15,"i":"6"},"version":"6.3.1","type":"visualization","id":"b922d140-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"7","gridData":{"x":0,"y":50,"w":24,"h":15,"i":"7"},"version":"6.3.1","type":"visualization","id":"dab6db30-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"8","gridData":{"x":24,"y":35,"w":24,"h":15,"i":"8"},"version":"6.3.1","type":"visualization","id":"fa69f020-fe47-11e8-b9f4-6d81a2f86892","embeddableConfig":{}},{"panelIndex":"9","gridData":{"x":1,"y":0,"w":46,"h":5,"i":"9"},"version":"6.3.1","type":"visualization","id":"6fc347d0-fefd-11e8-af65-e7faf305b109","embeddableConfig":{}}]",
"optionsJSON": "{"darkTheme":false,"hidePanelTitles":false,"useMargins":true}",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{"query":{"language":"lucene","query":""},"filter":[{"meta":{"index":"f1fb7e30-e2e1-11e8-8f9b-c1309578ed26","negate":false,"disabled":false,"alias":null,"type":"phrase","key":"kubernetes.container.name","value":"redis-mcs","params":{"query":"redis-mcs","type":"phrase"}},"query":{"match":{"kubernetes.container.name":{"query":"redis-mcs","type":"phrase"}}},"$state":{"store":"appState"}}],"highlightAll":true,"version":true}"
}
}
}
]