Introduce a server.maxUploadBytes
setting for all upload endpoints
#77945
Labels
Feature:http
performance
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
There are several HTTP endpoints in Kibana that serve simply to upload different data to Elasticsearch. One issue that users run into with these endpoints is that the default
server.maxPayloadBytes
setting is too low for these endpoints.In general, we do not want to increase the
server.maxPayloadBytes
setting because:What we could do is expose a single
server.maxUploadBytes
setting that is higher and is used by all upload endpoints in Core & Plugins. To make this safer for DOS attacks, we could create an HttpService API that defaults to using this setting & does not parse the payload body. For example:The text was updated successfully, but these errors were encountered: