The rate_limit
operator limits the rate of entries that can pass through it. This is useful if you want to limit
throughput of the agent, or in conjunction with operators like generate_input
, which will otherwise
send as fast as possible.
Field | Default | Description |
---|---|---|
id |
rate_limit |
A unique identifier for the operator |
output |
Next in pipeline | The connected operator(s) that will receive all outbound entries |
rate |
The number of logs to allow per second | |
interval |
A duration that indicates the time between sent entries | |
burst |
0 | The max number of entries to "save up" for spikes of load |
Exactly one of rate
or interval
must be specified.
Configuration:
- type: rate_limit
rate: 10