responseTimeout

Bounds how long mmexternal waits for a JSON response from the external plugin.

This parameter applies to mmexternal: Support module for external message modification plugins.

Name:

responseTimeout

Scope:

input

Type:

integer

Default:

0

Required?:

no

Introduced:

8.2606.0

Description

This parameter sets the maximum time, in milliseconds, that mmexternal waits for the external program to return a complete JSON response line. The default value 0 keeps the historical behavior and waits without a module-level timeout.

When the timeout expires, mmexternal logs a warning, terminates and restarts the external program, and continues processing. The current message is not retried through the timed-out helper.

The timeout applies only when interface.output is "json". It has no effect when interface.output="none".

Input usage

module(load="mmexternal")

action(
    type="mmexternal"
    binary="/path/to/mmexternal.py"
    responseTimeout="500"
)

See also

See also mmexternal: Support module for external message modification plugins.


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

Contributing: Source & docs: rsyslog source project

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