-
Notifications
You must be signed in to change notification settings - Fork 501
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Phillip Whelan <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 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,20 @@ | ||
--- | ||
description: 'Exit fluent-bit after a number of flushes, records or seconds' | ||
--- | ||
|
||
# Exit | ||
|
||
The exit plugin is a utility plugin which will cause fluent-bit to exit after one of the following occurs: | ||
* receiving a set number of records (record_count). | ||
* being flushed a set number of times (flush_count). | ||
* being flushed after a set number of seconds have transpired (time_count). | ||
|
||
At least one of these parameters must be set. If more than one is set it will wait until any one of the set conditions is met. | ||
|
||
## Configuration Parameters | ||
|
||
| Key | Description | default | | ||
| :--- | :--- | :--- | | ||
| Record\_Count | Number of records to wait for before exiting | | | ||
| Flush\_Count | Number of flushes to wait for before exiting | | | ||
| Time\_Count | Number of seconds to wait for before exiting | | |