Skip to content

Commit

Permalink
[4.8.1] Adds no-piggyback-errors flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Nov 18, 2024
1 parent 17d3d6a commit 91bea72
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ The `syslog-parser()` has the following options:

{{< include-headless "chunk/option-source-flags.md" >}}

For the `syslog-parser()` you can also set the `check-hostname` flag, which is equivalent with the [`check-hostname()` global option]({{< relref "/chapter-global-options/reference-options/_index.md#global-option-check-hostname" >}}), but only applies to this parser.
For the `syslog-parser()` you can also set the following flags:

- `check-hostname`: Equivalent with the [`check-hostname()` global option]({{< relref "/chapter-global-options/reference-options/_index.md#global-option-check-hostname" >}}), but only applies to this parser.
- `no-piggyback-errors`: Do not attribute the message to {{< product >}} in case of errors. Things already processed or extracted are retained, for example: `${MESSAGE}` retains its value (potentially the raw message), other macros like `${HOST}`, `${PROGRAM}`, or `${PID}` may or may not be extracted. The error is indicated by setting `${MSGFORMAT}` set to "syslog:error".

Available in {{< product >}} 4.8.1 and later.

## sdata-prefix()

Expand Down

0 comments on commit 91bea72

Please sign in to comment.