[core.savedObjects] Documentation & cleanup for maxImportExportSize
config
#91172
Labels
chore
docs
Feature:Saved Objects
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
In #89915 we changed the way the
savedObjects.maxImportExportSize
config is applied to SO exports.Our default value for this is 10k because that's the default
index.max_result_window
in ES, which limits the number of hits you can page through.In #89915 we started using
pit
withsearch_after
, enabling us to page through any arbitrary number of hits. The immediate benefit this has is allowing users to import/export >10k saved objects if they set a higher number inmaxImportExportSize
.Since how this config is used has been a source of confusion in the past, and to make life easier from a support perspective, we should work on some documentation & cleanup to make it more obvious how this works:
maxImportExportSize
, and when it is applied.maxImportExportSize
: this is just a number, but is improperly validated as bytes inkibana/src/core/server/saved_objects/saved_objects_config.ts
Lines 27 to 33 in 4584a8b
maxImportExportSizeBytes
even though it isn't bytes.The text was updated successfully, but these errors were encountered: