tag¶
Specifies the tag prefix that identifies messages for processing.
This parameter applies to mmsnmptrapd: snmptrapd message modification module.
- Name:
tag
- Scope:
next legacy action
- Type:
word (see Rsyslog Parameter String Constants)
- Default:
action=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 $mmsnmptrapdTag tag/ results in a
check for tag// at the start of the tag field.
Legacy directive usage¶
module(load="mmsnmptrapd")
$mmsnmptrapdTag snmptrapd
**:mmsnmptrapd:
Supported directive¶
This legacy directive is the supported way to configure this setting. It is
not accepted as a module() or action() parameter. The setting resets
after the next :mmsnmptrapd: action is constructed.
$mmsnmptrapdTag
See also¶
See also mmsnmptrapd: snmptrapd message modification module.
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.