Skip to content

Commit f4ec06b

Browse files
authored
fix flush default value (fluent#1369)
* development: golang output plugins: fix flush default value. Signed-off-by: lecaros <lecaros@calyptia.com> * administration: configuration file: fix flush default value. Signed-off-by: lecaros <lecaros@calyptia.com> --------- Signed-off-by: lecaros <lecaros@calyptia.com>
1 parent faba855 commit f4ec06b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

administration/configuring-fluent-bit/classic-mode/configuration-file.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The _Service_ section defines global properties of the service, the keys availab
2323

2424
| Key | Description | Default Value |
2525
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
26-
| flush | Set the flush time in `seconds.nanoseconds`. The engine loop uses a Flush timeout to define when is required to flush the records ingested by input plugins through the defined output plugins. | 5 |
26+
| flush | Set the flush time in `seconds.nanoseconds`. The engine loop uses a Flush timeout to define when is required to flush the records ingested by input plugins through the defined output plugins. | 1 |
2727
| grace | Set the grace time in `seconds` as Integer value. The engine loop uses a Grace timeout to define wait time on exit | 5 |
2828
| daemon | Boolean value to set if Fluent Bit should run as a Daemon (background) or not. Allowed values are: yes, no, on and off. note: If you are using a Systemd based unit as the one we provide in our packages, do not turn on this option. | Off |
2929
| dns.mode | Set the primary transport layer protocol used by the asynchronous DNS resolver which can be overridden on a per plugin basis | UDP |

development/golang-output-plugins.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Usage: fluent-bit [OPTION]
2121
Available Options
2222
-c --config=FILE specify an optional configuration file
2323
-d, --daemon run Fluent Bit in background mode
24-
-f, --flush=SECONDS flush timeout in seconds (default: 5)
24+
-f, --flush=SECONDS flush timeout in seconds (default: 1)
2525
-i, --input=INPUT set an input
2626
-m, --match=MATCH set plugin match, same as '-p match=abc'
2727
-o, --output=OUTPUT set an output

0 commit comments

Comments
 (0)