policyWatchDebounce

Sets the quiet period used before a watched policy change is reloaded.

This parameter applies to JSON Dotted Key Transformer (mmjsontransform).

Name:

policyWatchDebounce

Scope:

input

Type:

time interval

Default:

5s

Required?:

no

Introduced:

8.2604.0

Description

Defines the debounce interval used by policyWatch. Each new file event resets the timer, so rapid updates are coalesced into one later reload.

Supported suffixes are ms, s, m, and h. Bare numbers are interpreted as seconds.

Input usage

action(type="mmjsontransform"
       policy="/etc/rsyslog/mmjsontransform-policy.yaml"
       policyWatch="on"
       policyWatchDebounce="500ms"
       input="$!raw" output="$!normalized")

See also

See also the main mmjsontransform module documentation.


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.