Skip to content

Commit c711cc6

Browse files
authored
in_tail: add Offset_Key (#456)
This PR is related to fluent-bit PR 3038 Signed-off-by: Yong Tang <[email protected]>
1 parent 946bd80 commit c711cc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pipeline/inputs/tail.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The plugin supports the following configuration parameters:
1515
| Path | Pattern specifying a specific log file or multiple ones through the use of common wildcards. Multiple patterns separated by commas are also allowed. | |
1616
| 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. | |
1717
| Exclude\_Path | Set one or multiple shell patterns separated by commas to exclude files matching certain criteria, e.g: `Exclude_Path *.gz,*.zip` | |
18+
| Offset\_Key | If enabled, it appends the offset of the current monitored file as part of the record. The value assigned becomes the key in the map. | |
1819
| 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. | Off |
1920
| Refresh\_Interval | The interval of refreshing the list of watched files in seconds. | 60 |
2021
| 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 |

0 commit comments

Comments
 (0)