Skip to content

Commit 0ec9266

Browse files
committed
1.0: add max_line_size explanation
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 92649e6 commit 0ec9266

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

input/tail.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,18 @@ This value should be equal or greater than 8192.
230230

231231
If you work with a big cluster with high volume of log, you can use this parameter to avoid network saturation and make it easier to calculate the max throughput per node. To restrict shipping log volumes per second, set a positive number.
232232

233+
### `max_line_size`
234+
235+
| type | default | version |
236+
| :--- | :--- | :--- |
237+
| size | nil | 1.14.4 |
238+
239+
The maximum line length which should be ignored.
240+
The longer line is just skipped.
241+
242+
If you see `BufferChunkOverflowError` exception frequently, it means that incoming data is too long.
243+
If such a long line is unexpected incoming data and want to ignore it, then set a smaller value than `chunk_limit_size` in `<buffer>` section.
244+
233245
### `multiline_flush_interval`
234246

235247
| type | default | version |

0 commit comments

Comments
 (0)