appName¶
Selects the application name whose messages the mmcount action tracks.
This parameter applies to mmcount.
- Name:
appName
- Scope:
input
- Type:
word
- Default:
none
- Required?:
yes
- Introduced:
7.5.0
Description¶
Specifies the syslog APP-NAME that must match for mmcount to process a
message. When the application name of the current message does not match
appName
, the action immediately returns without altering counters. If
no match is found, no mmcount
property is added to the message.
For matching messages, mmcount increments counters based on the
additional parameters. When key is omitted, the
module counts per-severity totals for the selected application. If
key is provided, counters are updated according to
that parameter’s logic. The updated total is written into the message’s
mmcount
JSON property so later actions can react to it.
Input usage¶
action(type="mmcount" appName="gluster")
See also¶
See also mmcount.
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.