Skip to content

Commit 72bffce

Browse files
committed
news: added news file
Signed-off-by: Kovacs, Gergo Ferenc <[email protected]>
1 parent 6df2b51 commit 72bffce

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

news/feature-5063.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
`syslog-parser`: Added the `no-piggyback-errors` and the `piggyback-errors` flags to control whether the message retains the original message or not. By default the old behaviour/`no-piggyback-errors` flag is active, modifing the original message on error.
2+
3+
- `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 will be placed on the message roccesponding to the parser's failure.
4+
- `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).
5+
6+
The following new tags can be added by the `syslog-parser` to the message when the parsing failed:
7+
- `syslog.rfc5424_missing_hostname`
8+
- `syslog.rfc5424_missing_app_name`
9+
- `syslog.rfc5424_missing_procid`
10+
- `syslog.rfc5424_missing_msgid`
11+
- `syslog.rfc5424_missing_sdata`
12+
- `syslog.rfc5424_invalid_sdata`
13+
- `syslog.rfc5424_missing_message`

0 commit comments

Comments
 (0)