Skip to content

Commit d4540f1

Browse files
pipeline: outputs: syslog: Add info about workers
Signed-off-by: Alexa Kreizinger <[email protected]>
1 parent 7e54f34 commit d4540f1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pipeline/outputs/syslog.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ You must be aware of the structure of your original record so you can configure
3131
| syslog\_sd\_key | The key name from the original record that contains a map of key/value pairs to use as Structured Data \(SD\) content. The key name is included in the resulting SD field as shown in examples below. This configuration is optional. | |
3232
| syslog\_message\_key | The key name from the original record that contains the message to deliver. Note that this property is **mandatory**, otherwise the message will be empty. | |
3333
| allow\_longer\_sd\_id| If true, Fluent-bit allows SD-ID that is longer than 32 characters. Such long SD-ID violates RFC 5424.| false |
34+
| workers | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
3435

3536
### TLS / SSL
3637

@@ -123,7 +124,7 @@ Example configuration file:
123124
syslog_hostname_key hostname
124125
syslog_appname_key appname
125126
syslog_procid_key procid
126-
syslog_msgid_key msgid
127+
syslog_msgid_key msgid
127128
syslog_sd_key uls@0
128129
syslog_message_key log
129130
```
@@ -156,19 +157,19 @@ Example output:
156157

157158
### Adding Structured Data Authentication Token
158159

159-
Some services use the structured data field to pass authentication tokens (e.g. `[<token>@41018]`), which would need to be added to each log message dynamically.
160-
However, this requires setting the token as a key rather than as a value.
160+
Some services use the structured data field to pass authentication tokens (e.g. `[<token>@41018]`), which would need to be added to each log message dynamically.
161+
However, this requires setting the token as a key rather than as a value.
161162
Here's an example of how that might be achieved, using `AUTH_TOKEN` as a [variable](../../administration/configuring-fluent-bit/classic-mode/variables.md):
162163

163164
{% tabs %}
164165
{% tab title="fluent-bit.conf" %}
165166
```text
166-
[FILTER]
167+
[FILTER]
167168
name lua
168169
match *
169170
call append_token
170171
code function append_token(tag, timestamp, record) record["${AUTH_TOKEN}"] = {} return 2, timestamp, record end
171-
172+
172173
[OUTPUT]
173174
name syslog
174175
match *
@@ -213,4 +214,4 @@ Here's an example of how that might be achieved, using `AUTH_TOKEN` as a [variab
213214
tls.crt_file: /path/to/my.crt
214215
```
215216
{% endtab %}
216-
{% endtabs %}
217+
{% endtabs %}

0 commit comments

Comments
 (0)