tag¶
Specifies the tag prefix that identifies messages for processing.
This parameter applies to mmsnmptrapd message modification module.
- Name:
tag
- Scope:
module
- Type:
word (see Rsyslog Parameter String Constants)
- Default:
module=snmptrapd
- Required?:
no
- Introduced:
at least 5.8.1, possibly earlier
Description¶
Tells the module which start string inside the tag to look for. The default is
snmptrapd
. Note that a slash (/
) is automatically appended to this tag for
matching. You should not include a trailing slash unless you specifically need
to match a double slash. For example, setting tag="tag/"
results in a
check for tag//
at the start of the tag field.
Module usage¶
module(load="mmsnmptrapd" tag="snmptrapd")
Legacy names (for reference)¶
Historic names/directives for compatibility. Do not use in new configs.
$mmsnmptrapdTag — maps to tag (status: legacy)
See also¶
See also mmsnmptrapd message modification module.
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.