-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export dashboard API fails to complete JSON output #19077
Comments
I'm seeing the same behaviour: missing |
Seeing this in 6.3.2 rpm-based version, but only on some dashboards. |
I have this issue too in 6.3.1. The missing part isn't even always the same: sometimes the file lacks "] }", sometimes it's only "}". It's always the same dashboards that have that issue but they don't seem to have any particular feature, it seems to be quite random. Do you confirm this or do you see a pattern? |
I see exactly the same behavior you describe. Consistently wrong on a specific dashboard. |
I have the same issue on 6.3.1 - I'd noticed that the response is always complete in the browser. Adding an Accept-Encoding header and compressed param to the curl command works for me though. e.g.
|
Okay, we managed to track down the issue, the problem is that we incorrectly set The fix seems to be simple and require just using |
I can confirm that adding the request headers per @kjrace's comment works great! thank you! |
Yeah, ® can definitely be a culprit, it consists of 2 bytes: http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=%C2%AE&mode=char |
oh wow! the more you know.... |
Kibana version: 6.3.0-BC4
Elasticsearch version: 6.3.0-BC4
Server OS version: Windows 2012 Server
Browser version: N/A
Browser OS version: N/A
Original install method (e.g. download page, yum, from source, etc.): zip files
Describe the bug: I used the export dashboard api and although it exported dashboard, all the visualizations, saved search, and index pattern, it didn't complete the last closing
} ] }
. So it won't import now.Steps to reproduce:
node scripts/es_archiver load ./data_dashboard --es-url http://localhost:9200
} ] }
at the endoutput is:
{"statusCode":400,"error":"Bad Request","message":"Invalid request payload JSON format"}
Expected behavior: The JSON from export should be valid and should import back into Kibana
Provide logs and/or server output (if relevant):
Any additional context:
I should note that someone else used the dashboard API to export and it worked correctly, so there's something about this data set that breaks the export functionality. It could be the number of visualizations (there are 30)?
The text was updated successfully, but these errors were encountered: