-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separated Batch size block into reusable snippet (#70)
Fixes: #68 Unification of "Batch size" blocks with a snippet. Also replaced "Load balancing" with existing snippet.
- Loading branch information
Showing
4 changed files
with
23 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## 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 | ||
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 | ||
size and time: | ||
|
||
- syslog-ng OSE 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 | ||
the batch reaches batch-bytes() bytes. | ||
|
||
To increase the performance of the destination, increase the number of | ||
worker threads for the destination using the workers() option, or adjust | ||
the batch-bytes(), batch-lines(), batch-timeout() options. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters