Trying to export a Dashboard - 404 Not found

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}"
}
}
}
]

Hey @Jacko-ski,

Are you running Kibana with or without security? If you're running with, then what roles does the user have in each case? Is it possible the user is either unauthenticated, or under privileged?

I have administrator rights. I'm able to run Dev Tools to get information about mappings, indices, etc. Also, using that same ID/password I can export it from Kibana > Management > Saved Objects, with no problems. Notice also that the error I get is Not Found, not Not Authorized...

Should I be adding my userid:password to the URL when I run that command from the browser search box?

Should I be adding my userid:password to the URL when I run that command from the browser search box?

That shouldn't be necessary since you're already logged in to Kibana.

I'm having a hard time reproducing this error. I'm going to try a few more scenarios and report back, but it likely won't be until tomorrow morning (Eastern standard time)

Hi Larry - found out that this client has some custom Auth agent running on their machines, which probably effects this functionality. For that reason, we should probably conclude this topic.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.