Skip to content

Commit 9695a27

Browse files
authored
input: tail: Fix docs for ignore_older (#1146)
* input: tail: Fix docs for ignore_older Signed-off-by: lecaros <[email protected]> * input: tail: fix symbol for ignore_older field name Signed-off-by: lecaros <[email protected]> --------- Signed-off-by: lecaros <[email protected]>
1 parent b8a85de commit 9695a27

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
@@ -19,7 +19,7 @@ The plugin supports the following configuration parameters:
1919
| 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 |
2020
| Refresh\_Interval | The interval of refreshing the list of watched files in seconds. | 60 |
2121
| 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 |
22-
| Ignore\_Older | Ignores files which modification date is older than this time in seconds. Supports m,h,d \(minutes, hours, days\) syntax. | |
22+
| Ignore\_Older | Ignores records older than `ignore_older`. Supports m, h, d (minutes, hours, days) syntax. Default behavior is to read all records. Option only available when a Parser is specified and it can parse the time of a record. | |
2323
| Skip\_Long\_Lines | When a monitored file reaches its buffer capacity due to a very long line \(Buffer\_Max\_Size\), the default behavior is to stop monitoring that file. Skip\_Long\_Lines alter that behavior and instruct Fluent Bit to skip long lines and continue processing other lines that fits into the buffer size. | Off |
2424
| Skip\_Empty\_Lines | Skips empty lines in the log file from any further processing or output. | Off |
2525
| DB | Specify the database file to keep track of monitored files and offsets. | |
@@ -35,6 +35,7 @@ The plugin supports the following configuration parameters:
3535
| 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>.+)-` | |
3636
| 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 |
3737

38+
3839
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.
3940

4041
## Multiline Support

0 commit comments

Comments
 (0)