RateLimit.Name

Specifies the name of the rate limiting policy to use.

This parameter applies to imtcp: TCP Syslog Input Module.

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="imtcp" rateLimit.Name="myLimit")

See also

See also imtcp: TCP Syslog Input 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.