Skip to content

Commit abee4bc

Browse files
authored
Merge pull request #380 from kenhys/max-line-size
1.0: add max_line_size explanation
2 parents 2b2d6c6 + 9fdec91 commit abee4bc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

input/tail.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,17 @@ This value should be equal or greater than 8192.
232232

233233
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.
234234

235+
### `max_line_size`
236+
237+
| type | default | version |
238+
| :--- | :--- | :--- |
239+
| size | nil | 1.14.4 |
240+
241+
The maximum length of a line. Longer lines than it will be just skipped.
242+
243+
If you see `BufferChunkOverflowError` exception frequently, it means that incoming data is too long.
244+
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.
245+
235246
### `multiline_flush_interval`
236247

237248
| type | default | version |

0 commit comments

Comments
 (0)