Skip to content

Commit

Permalink
Moved flag into the appropriate topic.
Browse files Browse the repository at this point in the history
Signed-off-by: Zsolt Gyulai (zgyulai) <[email protected]>
  • Loading branch information
zsoltgyulai94 committed Jul 18, 2024
1 parent 9eb9ae7 commit 19d54ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion _includes/doc/admin-guide/options/flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
* `empty-lines`: Use the empty-lines flag to keep the empty lines of the messages. Otherwise, these lines are automatically removed.
* `expect-hostname`: When this flag is used syslog-ng OSE expects a log message that contains a hostname and parses the message accordingly. This is the default behavior for TCP sources. Note that pipe sources use the `no-hostname` flag by default.
* `guess-timezone`: This flag allows the source to attempt to guess the timezone of the message if this information is not available in the message. Works when the incoming message stream is close to real time, and the timezone information is missing from the timestamp.
* `ignore-aux-data`: This flag enables the source to ignore auxiliary data.
* `kernel`: This flag sets the source default to the `LOG_KERN | LOG_NOTICE` priority if not specified otherwise.
* `no-header`: This flag triggers syslog-ng OSE to parse only the `PRI` field of incoming messages, and put the rest of the message contents into `MSG`.
The functionality of `no-header` is similar to the `no-parse` flag, but the `no-header` flag does not skip the `PRI` field. The `no-header` flag signals syslog-ng OSE that the syslog header is not present (or does not adhere to the conventions / RFCs), so the entire message (except from the `PRI` field) is put into `MSG`.
Expand Down
2 changes: 1 addition & 1 deletion _includes/doc/admin-guide/options/source-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
this information is not available in the message. Works when the
incoming message stream is close to real time, and the timezone
information is missing from the timestamp.

- *ignore-aux-data*: This flag enables the source to ignore auxiliary data.
- *kernel*: The kernel flag makes the source default to the LOG_KERN
| LOG_NOTICE priority if not specified otherwise.

Expand Down

0 comments on commit 19d54ea

Please sign in to comment.