diff --git a/configuration/buffer-section.md b/configuration/buffer-section.md index 96b07be9..00f91d4e 100644 --- a/configuration/buffer-section.md +++ b/configuration/buffer-section.md @@ -414,9 +414,7 @@ Following are the configuration parameters for buffer plugin and its chunks: * `total_limit_size` \[size\] * Default: 512MB \(memory\) / 64GB \(file\) * The size limitation of this buffer plugin instance - * Once the total size of stored buffer reaches this threshold, all append - - operations will fail with error \(and data will be lost\) + * The limit applies to all chunks in the buffer together: staged chunks, queued chunks, and chunks being flushed. Once their total size reaches this threshold, the buffer does not accept new events, and what happens to them depends on `overflow_action`. The size is checked before each write to the buffer, so one write can take the total beyond this threshold. * `queue_limit_length` \[integer\] * Default: `nil` * The queue length limitation of this buffer plugin instance @@ -525,19 +523,21 @@ Following are the flushing parameters for chunks to optimize performance \(laten operation has failed * `overflow_action` \[enum: `throw_exception`/`block`/`drop_oldest_chunk`\] * Default: `throw_exception` - * How does output plugin behave when its buffer queue is full? - * `throw_exception`: raises an exception to show the error in log + * How does output plugin behave when the total size of all chunks in the buffer reaches `total_limit_size`? + * `throw_exception`: raises `BufferOverflowError`, and the events are not written to the buffer. + + If `