Skip to content

Commit

Permalink
in_tail: Introducing the compare_filename option to db_file_exists (#…
Browse files Browse the repository at this point in the history
…8025)(2/2)

Signed-off-by: jinyong.choi <[email protected]>
  • Loading branch information
jinyongchoi committed Oct 19, 2023
1 parent 315412f commit c88dae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/inputs/tail.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The plugin supports the following configuration parameters:
| DB.sync | Set a default synchronization \(I/O\) method. Values: Extra, Full, Normal, Off. This flag affects how the internal SQLite engine do synchronization to disk, for more details about each option please refer to [this section](https://www.sqlite.org/pragma.html#pragma_synchronous). Most of workload scenarios will be fine with `normal` mode, but if you really need full synchronization after every write operation you should set `full` mode. Note that `full` has a high I/O performance cost. | normal |
| DB.locking | Specify that the database will be accessed only by Fluent Bit. Enabling this feature helps to increase performance when accessing the database but it restrict any external tool to query the content. | false |
| DB.journal\_mode | sets the journal mode for databases \(WAL\). Enabling WAL provides higher performance. Note that WAL is not compatible with shared network file systems. | WAL |
| DB.compare_filename | This option determines whether to check both the `inode` and the `filename` when retrieving stored file information from the database. 'true' verifies both the `inode` and `filename`, while 'false' checks only the `inode` (default). To check the inode and filename in the database, refer [here](#keep_state). | false |
| Mem\_Buf\_Limit | Set a limit of memory that Tail plugin can use when appending data to the Engine. If the limit is reach, it will be paused; when the data is flushed it resumes. | |
| Exit\_On\_Eof | When reading a file will exit as soon as it reach the end of the file. Useful for bulk load and tests | false |
| Parser | Specify the name of a parser to interpret the entry as a structured message. | |
Expand Down

0 comments on commit c88dae0

Please sign in to comment.