Skip to content

Commit 06147d9

Browse files
nokute78edsiper
authored andcommitted
inputs: forward: update options
- fix default size of buffer_chunk_size and buffer_max_size - add unix_path option - remove forward://ip:port style Signed-off-by: Takahiro Yamashita <nokute78@gmail.com>
1 parent 90b384e commit 06147d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pipeline/inputs/forward.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ The plugin supports the following configuration parameters:
1010
| :--- | :--- | :--- |
1111
| Listen | Listener network interface. | 0.0.0.0 |
1212
| Port | TCP port to listen for incoming connections. | 24224 |
13-
| Buffer\_Max\_Size | Specify the maximum buffer memory size used to receive a Forward message. The value must be according to the [Unit Size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. | _Buffer\_Chunk\_Size_ |
14-
| Buffer\_Chunk\_Size | By default the buffer to store the incoming Forward messages, do not allocate the maximum memory allowed, instead it allocate memory when is required. The rounds of allocations are set by _Buffer\_Chunk\_Size_. The value must be according to the [Unit Size ](../../administration/configuring-fluent-bit/unit-sizes.md)specification. | 32KB |
13+
| Unix_Path |Specify the path to unix socket to receive a Forward message. If set, `Listen` and `Port` are ignored. | |
14+
| Buffer\_Max\_Size | Specify the maximum buffer memory size used to receive a Forward message. The value must be according to the [Unit Size](../../administration/configuring-fluent-bit/unit-sizes.md) specification. | 6144000 |
15+
| Buffer\_Chunk\_Size | By default the buffer to store the incoming Forward messages, do not allocate the maximum memory allowed, instead it allocate memory when is required. The rounds of allocations are set by _Buffer\_Chunk\_Size_. The value must be according to the [Unit Size ](../../administration/configuring-fluent-bit/unit-sizes.md)specification. | 1024000 |
1516

1617
## Getting Started
1718

@@ -28,7 +29,7 @@ $ fluent-bit -i forward -o stdout
2829
By default the service will listen an all interfaces \(0.0.0.0\) through TCP port 24224, optionally you can change this directly, e.g:
2930

3031
```bash
31-
$ fluent-bit -i forward://192.168.3.2:9090 -o stdout
32+
$ fluent-bit -i forward -p listen="192.168.3.2" -p port=9090 -o stdout
3233
```
3334

3435
In the example the Forward messages will only arrive through network interface under 192.168.3.2 address and TCP Port 9090.

0 commit comments

Comments
 (0)