Skip to content

Commit

Permalink
in_syslog: add receive_buffer_size parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Shizuo Fujita <[email protected]>
  • Loading branch information
Watson1978 committed Sep 27, 2024
1 parent 3fc1276 commit 02ae71b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions input/syslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,25 @@ The protocol of the `syslog` transport.

See **How to Enable TLS Encryption** section for how to use and see [Configuration Example](../plugin-helper-overview/api-plugin-helper-server.md#configuration-example) for all supported parameters.

#### `receive_buffer_size`

| type | default | version |
| :--- | :--- | :--- |
| size | nil | 1.8.0 |

The max size of socket receive buffer for UDP. This is used in `SO_RCVBUF` socket option.

```text
<source>
@type syslog
tag system
<transport udp>
receive_buffer_size 4194304 # 4 MB
</transport>
# other parameters
</source>
```

### `message_length_limit`

| type | default | version |
Expand Down

0 comments on commit 02ae71b

Please sign in to comment.