-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Kibana version: 7.9.0+
- Fresh install of Kibana
- Export all saved objects from Management -> Saved Objects -> Export
- Try to restore your export by importing those objects
Importing fails because the exported file is > 11MB which is bigger than our default of 10MB for savedObjects.maxImportPayloadBytes. Almost all of this comes from the Canvas pitch presentation template: #69438
Although we want to keep savedObjects.maxImportPayloadBytes relatively low for security reasons we can probably bump it higher. However, putting static image data into a saved object doesn't seem like a good fit and when a single saved object is this large it can have negative effects on other parts of Kibana (slowing down saved objects management UI, making migrations more likely to fail).
Can't we move these large images that come with the default templates into x-pack/plugins/canvas/public/assets and serve them from /plugins/canvas/assets/{path*}?