RateLimit.Name¶
Specifies the name of the rate limiting policy to use.
This parameter applies to imptcp: Plain TCP Syslog.
- Name:
RateLimit.Name
- Scope:
input
- Type:
string
- Default:
null
- Required?:
no
- Introduced:
8.2602.0
Description¶
Specifies the name of a rate limiting policy (defined via the top-level ratelimit Object object) to assert. If this parameter is set, the named policy is looked up and used. If the policy is not found, an error is reported. Using a named policy allows sharing rate limits across multiple inputs or managing them centrally.
Warning
This parameter is mutually exclusive with RateLimit.Interval and RateLimit.Burst.
If RateLimit.Name is specified, those parameters must not be used. Specifying both will result in a
configuration error.
Input usage¶
ratelimit(name="myLimit" interval="60" burst="100")
input(type="imptcp" RateLimit.Name="myLimit")
See also¶
See also imptcp: Plain TCP Syslog.
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.