send_partial

Controls whether mmdarwin calls Darwin when some fields are missing from the message.

This parameter applies to Darwin connector (mmdarwin).

Name:

send_partial

Scope:

input

Type:

boolean

Default:

input=off

Required?:

no

Introduced:

at least 8.x, possibly earlier

Description

Controls whether to send data to Darwin if not all "fields" could be found in the message. Darwin filters typically require a strict set of parameters and may not process incomplete data, so leaving this setting at "off" is recommended unless you have verified the filter accepts missing fields.

For example, for the following log line:

{
    "from": "192.168.1.42",
    "date": "2012-12-21 00:00:00",
    "status": "200",
    "data": {
        "status": true,
        "message": "Request processed correctly"
    }
}

and the "fields" array:

["!from", "!data!status", "!this!field!is!not!in!message"]

the third field won’t be found, so the call to Darwin will be dropped.

Input usage

action(type="mmdarwin" sendPartial="on")

See also

See also Darwin connector (mmdarwin).


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.