Skip to content

Commit baafd3c

Browse files
authored
out_udp: general output doc updates (#2292)
- Change Host, Port, Format to lowercase in config table - Sort configuration parameters alphabetically - Update command line example to use lowercase parameters Fixes #2144. Signed-off-by: Eric D. Schabell <eric@schabell.org>
1 parent 15fbd7e commit baafd3c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pipeline/outputs/udp.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This plugin supports the following parameters:
1212

1313
| Key | Description | Default |
1414
|:--- |:----------- |:------- |
15-
| `Host` | Target host where the UDP server is listening. | `127.0.0.1` |
16-
| `Port` | `UDP` Port of the target service. | `5170` |
17-
| `Format` | Specify the data format to be printed. Supported formats: `msgpack`, `json`, `json_lines`, `json_stream`. | `json_lines` |
18-
| `json_date_key` | Specify the name of the time key in the output record. To disable the time key, set the value to `false`. | `date` |
15+
| `format` | Specify the data format to be printed. Supported formats: `msgpack`, `json`, `json_lines`, `json_stream`. | `json_lines` |
16+
| `host` | Target host where the UDP server is listening. | `127.0.0.1` |
1917
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `epoch_ms`, `iso8601`, `java_sql_timestamp`. | `double` |
18+
| `json_date_key` | Specify the name of the time key in the output record. To disable the time key, set the value to `false`. | `date` |
19+
| `port` | UDP port of the target service. | `5170` |
2020
| `raw_message_key` | Use a raw message key for the message. When set, the plugin sends the value of this key as the raw message instead of formatting it as JSON. | _none_ |
2121
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `2` |
2222

@@ -41,8 +41,8 @@ fluent-bit -i cpu -t cpu -o udp://192.168.2.3:5170 -p format=json_lines -v
4141
which is similar to:
4242

4343
```shell
44-
fluent-bit -i cpu -t cpu -o udp -p Host=192.168.2.3 -p Port=5170 \
45-
-p Format=json_lines -o stdout -m '*'
44+
fluent-bit -i cpu -t cpu -o udp -p host=192.168.2.3 -p port=5170 \
45+
-p format=json_lines -o stdout -m '*'
4646
```
4747

4848
### Configuration file

0 commit comments

Comments
 (0)