Skip to content

High/low watermark levels to discard logs #976

@Ashlanfox

Description

@Ashlanfox

Reading the documentation I thought high/low watermark levels could be used to discard logs (see https://www.rsyslog.com/doc/master/whitepapers/reliable_logging.html):

You can configure rsyslog to have high/low watermark levels, when the queue fills past the high watermark, rsyslog will start discarding logs below a specified severity, and stop doing so when it drops below the low watermark level

However this conflicts with rsyslog queue parameters (see https://www.rsyslog.com/doc/master/rainerscript/queue_parameters.html):

queue.highWatermark
This applies to disk-assisted queues, only. When the queue fills up to this number of messages, the queue begins to spool messages to disk. Please note that this should not happen as part of usual processing, because disk queue mode is very considerably slower than in-memory queue mode. Going to disk should be reserved for cases where an output action destination is offline for some period.

Is one part of the documentation faulty or did I miss something ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions