Skip to content

Commit 7eb373f

Browse files
input: tail: add in missing Skip_Empty_Lines option from #579 (#580)
Signed-off-by: Patrick Stephens <[email protected]>
1 parent 498f3c7 commit 7eb373f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pipeline/inputs/tail.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ The plugin supports the following configuration parameters:
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 |
2222
| Ignore\_Older | Ignores records which are older than this time in seconds. Supports m,h,d \(minutes, hours, days\) syntax. Default behavior is to read all records from specified files. Only available when a Parser is specified and it can parse the time of a record. | |
23+
| Skip\_Empty\_Lines | Skips empty lines in the log file from any further processing or output. | Off |
2324
| Skip\_Long\_Lines | When a monitored file reach it 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 |
2425
| DB | Specify the database file to keep track of monitored files and offsets. | |
2526
| 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 |
2627
| 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 |
2728
| 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 |
2829
| 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. | |
29-
| 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 |
30+
| 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 |
3031
| Parser | Specify the name of a parser to interpret the entry as a structured message. | |
3132
| Key | When a message is unstructured \(no parser applied\), it's appended as a string under the key name _log_. This option allows to define an alternative name for that key. | log |
3233
| Tag | Set a tag \(with regex-extract fields\) that will be placed on lines read. E.g. `kube.<namespace_name>.<pod_name>.<container_name>`. Note that "tag expansion" is supported: if the tag includes an asterisk \(\*\), that asterisk will be replaced with the absolute path of the monitored file \(also see [Workflow of Tail + Kubernetes Filter](../filters/kubernetes.md#workflow-of-tail-kubernetes-filter)\). | |
@@ -69,7 +70,7 @@ If you are running Fluent Bit to process logs coming from containers like Docker
6970
multiline.parser docker, cri
7071
```
7172

72-
The two options separated by a comma means multi-format: try `docker` and `cri` multiline formats.
73+
The two options separated by a comma means multi-format: try `docker` and `cri` multiline formats.
7374

7475
We are **still working** on extending support to do multiline for nested stack traces and such. Over the Fluent Bit v1.8.x release cycle we will be updating the documentation.
7576

0 commit comments

Comments
 (0)