This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

internal() source options

The internal() driver has the following options:

host-override()

Type: string
Default:

Description: Replaces the ${HOST} part of the message with the parameter string.

log-iw-size()

Type: number
Default: 100

Description: Specifies the source window size - the maximum number of in-flight messages permitted by the source before flow control is enforced. This only applies when flow-control is enabled.

If a max-connections() setting is in effect (for example in case of TCP sources), the log-iw-size() value means the total window size, and it’s divided proportionally between the connections. Its value cannot be lower than 100, unless the dynamic-window-size() option is enabled, which increases the effective windows size dynamically.

Note that when using disk-buffer(), the messages stored on disk are not included in the window size calculation. For details about the effects of this parameter, see Managing incoming and outgoing messages with flow-control.

normalize-hostnames()

Accepted values: yes, no
Default: no

Description: If enabled (normalize-hostnames(yes)), AxoSyslog converts the hostnames to lowercase.

program-override()

Type: string
Default:

Description: Replaces the ${PROGRAM} part of the message with the parameter string. For example, to mark every message coming from the kernel, include the program-override("kernel") option in the source containing /proc/kmsg.

tags()

Type: string
Default:

Description: Label the messages received from the source with custom tags. Tags must be unique, and enclosed between double quotes. When adding multiple tags, separate them with comma, for example, tags("dmz", "router"). This option is available only in version 3.1 and later.

use-fqdn()

Type: yes or no
Default: no

Description: Add Fully Qualified Domain Name instead of short hostname. This option can be specified globally, and per-source as well. The local setting of the source overrides the global option if available.