Skip to content
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

Ability to import saved object files larger than 10MB #36126

Closed
mikecote opened this issue May 6, 2019 · 3 comments · Fixed by #82406
Closed

Ability to import saved object files larger than 10MB #36126

mikecote opened this issue May 6, 2019 · 3 comments · Fixed by #82406
Labels
Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@mikecote
Copy link
Contributor

mikecote commented May 6, 2019

With the new server side import API, there is a limit of 10MB the server will accept. As discovered when testing #34896, we need the UI to display a proper error when the limit is reached instead of The file could not be processed. as well as increase the limit in order to be able to import / export a larger amount of canvas objects.

@mikecote mikecote added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Saved Objects labels May 6, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@cqliu1
Copy link
Contributor

cqliu1 commented May 6, 2019

Canvas has the workpad size limit set to 25MB, so it'd be nice if we could raise the limit to 25 in case users try to import a large workpad.

@rudolf
Copy link
Contributor

rudolf commented Oct 2, 2020

#66387 is tracking displaying the error message in the UI. We have savedObjects.maxImportPayloadBytes setting which can be used to increase the limit. Increasing the limit can open up for a malicious actor sending a large payload which consumes a lot of memory. But we can increase the default to ~25MB if we think users will regularly bump into this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
4 participants