Skip to content

Commit

Permalink
Create exit.md
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Whelan <[email protected]>
  • Loading branch information
pwhelan authored Mar 21, 2024
1 parent a21d806 commit 6288ccc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pipeline/outputs/exit.md
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 | |

0 comments on commit 6288ccc

Please sign in to comment.