Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in_syslog: add receive_buffer_size parameter #518

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions configuration/transport-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ On Windows, Fluentd sends FIN without depending on this setting.
</transport>
```

#### `receive_buffer_size`

| type | default | available transport type | version |
| :--- | :--- | :--- | :--- |
| integer | nil | tcp, udp, tls | 1.18.0 |

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

```text
<transport udp>
receive_buffer_size 4194304
</transport>
```

### TLS Setting

* `version`: \[enum: `TLS1_1`/`TLS1_2`/`TLS1_3`\]
Expand Down
3 changes: 2 additions & 1 deletion input/syslog.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ The protocol of the `syslog` transport.
</source>
```

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.
This section is for setting TLS transport or some general transport configurations.
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) and [Config: Transport Section](../configuration/transport-section.md) for all supported parameters.

### `message_length_limit`

Expand Down
1 change: 1 addition & 0 deletions input/tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ The maximum number of bytes for the message.
| enum | tcp | tcp, tls | 0.14.12 |

This section is for setting TLS transport or some general transport configurations.
See [Config: Transport Section](../configuration/transport-section.md) for all supported parameters.

#### General configuration

Expand Down
11 changes: 11 additions & 0 deletions input/udp.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,19 @@ Removes the newline from the end of the incoming payload.
| :--- | :--- | :--- |
| size | nil | 1.0.1 |

This is a deprecated parameter. Use `receive_buffer_size` in `<transport>` section instead.

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

### `<transport>` Section

| type | default | available values | version |
| :--- | :--- | :--- | :--- |
| enum | udp | udp | 1.18.0 |

This section is for some general transport configurations.
See [Config: Transport Section](../configuration/transport-section.md) for all supported parameters.

### `<parse>` Section

| required | multi | version |
Expand Down