Skip to content

Commit 7453660

Browse files
Merge branch 'master' into doc-kafka-c
2 parents 8eedfe7 + 7a8fb48 commit 7453660

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_includes/doc/admin-guide/options/source-flags.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## flags()
22

3-
|Type:| assume-utf8, empty-lines, expect-hostname, kernel, no-hostname, no-multi-line, no-parse, sanitize-utf8, store-legacy-msghdr, store-raw-message, syslog-protocol, threaded, validate-utf8|
3+
|Accepted values:| `assume-utf8`, `empty-lines`, `expect-hostname`, `kernel`, `no-hostname`, `no-multi-line`, `no-parse`, `sanitize-utf8`, `store-legacy-msghdr`, `store-raw-message`, `syslog-protocol`, `threaded`, `validate-utf8`, `no-piggyback-errors`, `piggyback-errors`|
44
|Default: | empty set|
55

66
*Description:* Specifies the log parsing options of the source.
@@ -139,5 +139,7 @@
139139
If the BOM[^1] character is missing, but the message is otherwise UTF-8
140140
compliant, {{ site.product.short_name }} automatically adds the BOM character to the
141141
message.
142+
- *no-piggyback-errors*: On failure, the original message will be left as it was before parsing, the value of `$MSGFORMAT` will be set to `syslog:error`, and a tag (see Tagging messages) will be placed on the message corresponding to the parser's failure.
143+
- *piggyback-errors*: On failure, the old behaviour is used (clearing the entire message then syslog-ng will generate a new message in place of the old one describing the parser's error).
142144
143145
[^1]: The byte order mark (BOM) is a Unicode character used to signal the byte-order of the message text.

0 commit comments

Comments
 (0)