Skip to content

Commit 72f4683

Browse files
pipeline: inputs: tail: Add threading info
Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com>
1 parent f8b8650 commit 72f4683

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pipeline/inputs/tail.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The plugin supports the following configuration parameters:
3636
| Tag\_Regex | Set a regex to extract fields from the file name. E.g. `(?<pod_name>[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?<namespace_name>[^_]+)_(?<container_name>.+)-(?<container_id>[a-z0-9]{64})\.log$` | |
3737
| Static\_Batch\_Size | Set the maximum number of bytes to process per iteration for the monitored static files (files that already exists upon Fluent Bit start). | 50M |
3838
| File\_Cache\_Advise | Set the posix_fadvise in POSIX_FADV_DONTNEED mode. This will reduce the usage of the kernel file cache. This option is ignored if not running on Linux. | On |
39+
| Threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | false |
3940

4041
Note that if the database parameter `DB` is **not** specified, by default the plugin will start reading each target file from the beginning. This also might cause some unwanted behavior, for example when a line is bigger that `Buffer_Chunk_Size` and `Skip_Long_Lines` is not turned on, the file will be read from the beginning of each `Refresh_Interval` until the file is rotated.
4142

@@ -127,7 +128,7 @@ $ fluent-bit -i tail -p path=/var/log/syslog -o stdout
127128

128129
### Configuration File
129130

130-
In your main configuration file append the following _Input_ & _Output_ sections.
131+
In your main configuration file append the following _Input_ & _Output_ sections.
131132

132133
{% tabs %}
133134
{% tab title="fluent-bit.conf" %}

0 commit comments

Comments
 (0)