Skip to content

Commit b630391

Browse files
authored
Merge branch 'fluent:master' into master
2 parents 5bbc956 + e8f4a93 commit b630391

File tree

7 files changed

+27
-5
lines changed

7 files changed

+27
-5
lines changed

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
* [Datadog](pipeline/outputs/datadog.md)
185185
* [Dynatrace](pipeline/outputs/dynatrace.md)
186186
* [Elasticsearch](pipeline/outputs/elasticsearch.md)
187+
* [Exit](pipeline/outputs/exit.md)
187188
* [File](pipeline/outputs/file.md)
188189
* [Flow counter](pipeline/outputs/flowcounter.md)
189190
* [Forward](pipeline/outputs/forward.md)

pipeline/outputs/exit.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 causes Fluent Bit to exit after one of the following occurs:
8+
9+
- receiving a set number of records (`record_count`).
10+
- being flushed a set number of times (`flush_count`).
11+
- being flushed after a set number of seconds have transpired (`time_count`).
12+
13+
At least one of these parameters must be set. If more than one is set the plugin exits when any one of the set conditions is met.
14+
15+
## Configuration parameters
16+
17+
| Key | Description | Default |
18+
| :--- | :--- | :--- |
19+
| `Record_Count` | Number of records to wait for before exiting. | _none_ |
20+
| `Flush_Count` | Number of flushes to wait for before exiting.| _none_ |
21+
| `Time_Count` | Number of seconds to wait for before exiting. | _none_ |

pipeline/outputs/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The plugin supports the following configuration parameters:
2828
| `http_method` | Specify `POST` versus `PUT` HTTP Method. | `POST` |
2929
| `header` | Add a HTTP header key/value pair. Multiple headers can be set. | _none_ |
3030
| `json_date_key` | Specify the name of the time key in the output record. To disable the time key, set the value to `false`. | `date` |
31-
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `iso8601`, `java_sql_timestamp`. | `double` |
31+
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `epoch_ms`, `iso8601`, `java_sql_timestamp`. | `double` |
3232
| `gelf_timestamp_key` | Specify the key to use for `timestamp` in `gelf` format. | _none_ |
3333
| `gelf_host_key` | Specify the key to use for the `host` in `gelf` format. | _none_ |
3434
| `gelf_short_message_key` | Specify the key to use as the `short` message in `gelf` format. | _none_ |

pipeline/outputs/s3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The [Prometheus success/retry/error metrics values](../../administration/monitor
3030
| `region` | The AWS region of your S3 bucket. | `us-east-1` |
3131
| `bucket` | S3 Bucket name | _none_ |
3232
| `json_date_key` | Specify the time key name in the output record. To disable the time key, set the value to `false`. | `date` |
33-
| `json_date_format` | Specify the format of the date. Accepted values: `double`, `epoch`, `iso8601` (2018-05-30T09:39:52.000681Z), `_java_sql_timestamp_` (2018-05-30 09:39:52.000681). | `iso8601` |
33+
| `json_date_format` | Specify the format of the date. Accepted values: `double`, `epoch`, `epoch_ms`, `iso8601` (2018-05-30T09:39:52.000681Z), `_java_sql_timestamp_` (2018-05-30 09:39:52.000681). | `iso8601` |
3434
| `total_file_size` | Specify file size in S3. Minimum size is `1M`. With `use_put_object On` the maximum size is `1G`. With multipart uploads, the maximum size is `50G`. | `100M` |
3535
| `upload_chunk_size` | The size of each part for multipart uploads. Max: 50M | 5,242,880 bytes |
3636
| `upload_timeout` | When this amount of time elapses, Fluent Bit uploads and creates a new file in S3. Set to `60m` to upload a new file every hour. | `10m`|

pipeline/outputs/standard-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The _standard output_ plugin prints ingested data to standard output.
88
| --- | ----------- | ------- |
99
| `Format` | Specify the data format to be printed. Supported formats are `msgpack`, `json`, `json_lines` and `json_stream`. | `msgpack` |
1010
| `json_date_key`| Specify the name of the time key in the output record. To disable the time key set the value to `false`. | `date` |
11-
| `json_date_format` | Specify the format of the date. Supported formats are `double`, `epoch`, `iso8601` (for example, `2018-05-30T09:39:52.000681Z`) and `java_sql_timestamp` (for example, `2018-05-30 09:39:52.000681`). | `double` |
11+
| `json_date_format` | Specify the format of the date. Supported formats are `double`, `epoch`, `epoch_ms`, `iso8601` (for example, `2018-05-30T09:39:52.000681Z`) and `java_sql_timestamp` (for example, `2018-05-30 09:39:52.000681`). | `double` |
1212
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `1` |
1313

1414
### Command line

pipeline/outputs/tcp-and-tls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This plugin supports the following parameters:
1212
| `Port` | TCP Port of the target service. | `5170` |
1313
| `Format` | Specify the data format to be printed. Supported formats: `msgpack`, `json`, `json_lines`, `json_stream`. | `msgpack` |
1414
| `json_date_key`| Specify the name of the time key in the output record. To disable the time key, set the value to `false`. | `date` |
15-
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `iso8601`, `java_sql_timestamp`. | `double` |
15+
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `epoch_ms`, `iso8601`, `java_sql_timestamp`. | `double` |
1616
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `2` |
1717

1818
## TLS configuration parameters

pipeline/outputs/websocket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This plugin supports the following parameters:
1414
| `Header` | Add a HTTP header key/value pair. Multiple headers can be set. | _none_ |
1515
| `Format` | Specify the data format to be used in the HTTP request body. Supported formats: `json`, `json_stream`, `json_lines`, `gelf`. | `msgpack` |
1616
| `json_date_key` | Specify the name of the date field in output. | `date` |
17-
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `iso8601`, `java_sql_timestamp`. | `double` |
17+
| `json_date_format` | Specify the format of the date. Supported formats: `double`, `epoch`, `epoch_ms`, `iso8601`, `java_sql_timestamp`. | `double` |
1818
| `workers` | The number of [workers](../../administration/multithreading.md#outputs) to perform flush operations for this output. | `0` |
1919

2020
## Get started

0 commit comments

Comments
 (0)