ForwardRuleDict gains template: the template a forwarding rule sends its messages in.
the rule's own: *.* @host:514;RSYSLOG_SyslogProtocol23Format, action(type="omfwd" ... template="...")
else the default set before it: $ActionForwardDefaultTemplate for legacy rules, module(load="builtin:omfwd" template="...") for omfwd actions
else None: rsyslog's default, RFC 3164, the host's local time without a zone
netOrk's Graylog integration judges each poll's forwarding reading against Graylog's host and port (NetOrk/netork, Graylog poll hook) and needs this to keep flagging rules whose timestamps Graylog files shifted by the host's UTC offset (NetOrk/netork#493).
Tests: tests/test_log_forwarding.py (four new cases, the full-rule assertion now includes template); the whole suite passes.
`ForwardRuleDict` gains `template`: the template a forwarding rule sends its messages in.
- the rule's own: `*.* @host:514;RSYSLOG_SyslogProtocol23Format`, `action(type="omfwd" ... template="...")`
- else the default set before it: `$ActionForwardDefaultTemplate` for legacy rules, `module(load="builtin:omfwd" template="...")` for omfwd actions
- else None: rsyslog's default, RFC 3164, the host's local time without a zone
netOrk's Graylog integration judges each poll's forwarding reading against Graylog's host and port (NetOrk/netork, Graylog poll hook) and needs this to keep flagging rules whose timestamps Graylog files shifted by the host's UTC offset (NetOrk/netork#493).
Tests: `tests/test_log_forwarding.py` (four new cases, the full-rule assertion now includes `template`); the whole suite passes.
A rule's template decides the timestamp it sends: rsyslog's default, RFC 3164,
carries the host's local time without a zone, which a collector such as Graylog
files shifted by the host's UTC offset (NetOrk/netork#493). The rule now says
which template it uses: its own (`@host;Name`, `action(... template="...")`),
else the default set before it (`$ActionForwardDefaultTemplate`, or
`module(load="builtin:omfwd" template="...")` for omfwd actions), else None.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
ForwardRuleDictgainstemplate: the template a forwarding rule sends its messages in.*.* @host:514;RSYSLOG_SyslogProtocol23Format,action(type="omfwd" ... template="...")$ActionForwardDefaultTemplatefor legacy rules,module(load="builtin:omfwd" template="...")for omfwd actionsnetOrk's Graylog integration judges each poll's forwarding reading against Graylog's host and port (NetOrk/netork, Graylog poll hook) and needs this to keep flagging rules whose timestamps Graylog files shifted by the host's UTC offset (NetOrk/netork#493).
Tests:
tests/test_log_forwarding.py(four new cases, the full-rule assertion now includestemplate); the whole suite passes.