Skip to content

Commit

Permalink
Added product name var to batch-size snippet
Browse files Browse the repository at this point in the history
Signed-off-by: mrgarris0n <[email protected]>
  • Loading branch information
mrgarris0n committed May 28, 2024
1 parent f631c3f commit 4904975
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _includes/doc/admin-guide/batch-size.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## Batch size

The batch-bytes(), batch-lines(), and batch-timeout() options of the
destination determine how many log messages syslog-ng OSE sends in a
destination determine how many log messages {{ site.product.short_name }} sends in a
batch. The batch-lines() option determines the maximum number of
messages syslog-ng OSE puts in a batch in. This can be limited based on
messages {{ site.product.short_name }} puts in a batch in. This can be limited based on
size and time:

- syslog-ng OSE sends a batch every batch-timeout() milliseconds, even
- {{ site.product.short_name }} sends a batch every batch-timeout() milliseconds, even
if the number of messages in the batch is less than batch-lines().
That way the destination receives every message in a timely manner
even if suddenly there are no more messages.

- syslog-ng OSE sends the batch if the total size of the messages in
- {{ site.product.short_name }} sends the batch if the total size of the messages in
the batch reaches batch-bytes() bytes.

To increase the performance of the destination, increase the number of
Expand Down

0 comments on commit 4904975

Please sign in to comment.