Skip to content

Commit 6288ccc

Browse files
authored
Create exit.md
Signed-off-by: Phillip Whelan <[email protected]>
1 parent a21d806 commit 6288ccc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

pipeline/outputs/exit.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
description: 'Exit fluent-bit after a number of flushes, records or seconds'
3+
---
4+
5+
# Exit
6+
7+
The exit plugin is a utility plugin which will cause fluent-bit to exit after one of the following occurs:
8+
* receiving a set number of records (record_count).
9+
* being flushed a set number of times (flush_count).
10+
* being flushed after a set number of seconds have transpired (time_count).
11+
12+
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.
13+
14+
## Configuration Parameters
15+
16+
| Key | Description | default |
17+
| :--- | :--- | :--- |
18+
| Record\_Count | Number of records to wait for before exiting | |
19+
| Flush\_Count | Number of flushes to wait for before exiting | |
20+
| Time\_Count | Number of seconds to wait for before exiting | |

0 commit comments

Comments
 (0)