Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `MAX_INGEST_REQUEST_SIZE`

Option | `MAX_INGEST_REQUEST_SIZE`
Description | Size limit of ingest requests after content-encoding has been applied.
Introduced Version | 1.64
Default | `33,554,432 bytes`

This variable is used to set the default size limit of ingest requests after content-encoding has been applied.

The value is expressed in bytes.

The default value of `32 MB` limits the size of ingest requests and rejects oversized requests. If the request is compressed within HTTP, then this restricts the size after decompressing.

Alternatively, the default can be applied via the dynamic configuration `MaxIngestRequestSize`. The recommendation is to set this size fairly low, such as 10 - 100 MB; however, be aware that doing so may break existing integrations that rely on ingesting very large payloads. Use the new request log field `decodedContentLength` to find what range of sizes to expect for existing clusters.

#### Enter search term