The batch operator controls the batch size of events.
batch [limit:int, timeout=duration]Description
Section titled “Description”The batch operator takes its input and rewrites it into batches of up to the
desired size.
Note that the operator maintains separate buffers for each distinct schema. Each
buffer has independent timeout tracking and fills until reaching the limit, at
which point it flushes immediately.
limit: int (optional)
Section titled “limit: int (optional)”How many events to put into one batch at most.
Defaults to 65536.
timeout = duration (optional)
Section titled “timeout = duration (optional)”Specifies a maximum latency for events passing through the batch operator. If no new events arrive within the timeout period, any buffered events are flushed.
Defaults to 1min.