From 78658aaa7504244a122101c5ef27f5a5e5105740 Mon Sep 17 00:00:00 2001 From: Mohamed <58916277+darth-raijin@users.noreply.github.com> Date: Fri, 1 Nov 2024 18:11:17 +0100 Subject: [PATCH] Update tail.md Signed-off-by: Mohamed <58916277+darth-raijin@users.noreply.github.com> --- pipeline/inputs/tail.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/inputs/tail.md b/pipeline/inputs/tail.md index 6c985551e..678f93185 100644 --- a/pipeline/inputs/tail.md +++ b/pipeline/inputs/tail.md @@ -16,7 +16,7 @@ The plugin supports the following configuration parameters: | Path\_Key | If enabled, it appends the name of the monitored file as part of the record. The value assigned becomes the key in the map. | | | Exclude\_Path | Set one or multiple shell patterns separated by commas to exclude files matching certain criteria, e.g: `Exclude_Path *.gz,*.zip` | | | Offset\_Key | If enabled, Fluent Bit appends the offset of the current monitored file as part of the record. The value assigned becomes the key in the map | | -| Read\_from\_Head | For new discovered files on start \(without a database offset/position\), read the content from the head of the file, not tail. | False | +| Read\_from\_Head | For new discovered files on start \(without a database offset/position\), read the content from the head of the file, not tail. Be cautious: enabling this setting may cause duplicate logs on restarts when using `DB`, as Fluent Bit will ignore offsets. Therefore, it is recommended to keep this disabled in production environments. | False | | Refresh\_Interval | The interval of refreshing the list of watched files in seconds. | 60 | | Rotate\_Wait | Specify the number of extra time in seconds to monitor a file once is rotated in case some pending data is flushed. | 5 | | Ignore\_Older | Ignores files older than `ignore_older`. Supports m, h, d (minutes, hours, days) syntax. Default behavior is to read all. | |