You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in_tail: fix parameter case to match source and fix style (#2295)
* in_tail: fix parameter case to match source and fix style
- Change Generic.Encoding to generic.encoding to match source
- Change Unicode.Encoding to unicode.encoding to match source
- Fix East asian to East Asian capitalization
Fixes#2202.
Signed-off-by: Eric D. Schabell <eric@schabell.org>
* in_tail: fix encoding parameter case throughout document
- Change Generic.Encoding to generic.encoding in text and examples
- Change Unicode.Encoding to unicode.encoding in text and examples
Applies to #2202.
Signed-off-by: Eric D. Schabell <eric@schabell.org>
---------
Signed-off-by: Eric D. Schabell <eric@schabell.org>
Copy file name to clipboardExpand all lines: pipeline/inputs/tail.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ The plugin supports the following configuration parameters:
24
24
|`exclude_path`| Set one or multiple shell patterns separated by commas to exclude files matching certain criteria. For example, `exclude_path *.gz,*.zip`. |_none_|
25
25
|`exit_on_eof`| When reading a file, exit as soon as it reaches the end of the file. Used for bulk load and tests. |`false`|
26
26
|`file_cache_advise`| Set the `posix_fadvise` in `POSIX_FADV_DONTNEED` mode. This reduces the usage of the kernel file cache. This option is ignored if not running on Linux. |`on`|
27
-
|`Generic.Encoding`| Set the non-Unicode encoding of the file data. Supported values: `ShiftJIS`, `UHC`, `GBK`, `GB18030`, `Big5`, `Win866`, `Win874`, `Win1250`, `Win1251`, `Win1252`, `Win1253`, `Win1254`, `Win1255`, and `Win1256`. |_none_|
27
+
|`generic.encoding`| Set the non-Unicode encoding of the file data. Supported values: `ShiftJIS`, `UHC`, `GBK`, `GB18030`, `Big5`, `Win866`, `Win874`, `Win1250`, `Win1251`, `Win1252`, `Win1253`, `Win1254`, `Win1255`, and `Win1256`. |_none_|
28
28
|`ignore_active_older_files`| Ignore files that are older than the value set in `ignore_older` even if the file is being ingested. |`false`|
29
29
|`ignore_older`| Ignores files older than `ignore_older`. Supports `m`, `h`, `d` (minutes, hours, days) syntax. | Read all. |
30
30
|`inotify_watcher`| Set to `false` to use file stat watcher instead of `inotify`. |`true`|
@@ -47,7 +47,7 @@ The plugin supports the following configuration parameters:
47
47
|`tag_regex`| Set a regular expression to extract fields from the filename. For example: `(?<pod_name>[a-z0-9](?:[-a-z0-9]*[a-z0-9])?(?:\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*)_(?<namespace_name>[^_]+)_(?<container_name>.+)-(?<container_id>[a-z0-9]{64})\.log$`. |_none_|
48
48
|`threaded`| Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). |`false`|
49
49
|`truncate_long_lines`| When enabled, truncates lines that exceed the buffer capacity after input encoding conversion to UTF-8. Use this option when dealing with character encoding conversions that might expand the line length. |`false`|
50
-
|`Unicode.Encoding`| Set the Unicode character encoding of the file data. This parameter requests two-byte aligned chunk and buffer sizes. If data isn't aligned for two bytes, Fluent Bit will use two-byte alignment automatically to avoid character breakages on consuming boundaries. Supported values: `UTF-16LE`, `UTF-16BE`, and `auto`. |_none_|
50
+
|`unicode.encoding`| Set the Unicode character encoding of the file data. This parameter requests two-byte aligned chunk and buffer sizes. If data isn't aligned for two bytes, Fluent Bit will use two-byte alignment automatically to avoid character breakages on consuming boundaries. Supported values: `UTF-16LE`, `UTF-16BE`, and `auto`. |_none_|
51
51
|`watcher_interval`| Set the interval for the watcher that monitors symbolic link rotation. This is an advanced option for fine-tuning how often Fluent Bit checks if symbolic links have been rotated. |`2s`|
52
52
53
53
## Buffers and memory management
@@ -90,9 +90,9 @@ If no database file is present, positioning behavior depends on the value of `re
90
90
The database file essentially stores `inode=offset` so it should be unique per instance of the plugin, for example if you have two tail inputs then use two separate `db` files for each. That way each tail input can independently track its own state.
91
91
92
92
{% hint style="info" %}
93
-
The `Unicode.Encoding` parameter is dependent on the `simdutf` library, which is itself dependent on C++ version 11 or later. In environments that use earlier versions of C++, the `Unicode.Encoding` parameter will fail.
93
+
The `unicode.encoding` parameter is dependent on the `simdutf` library, which is itself dependent on C++ version 11 or later. In environments that use earlier versions of C++, the `unicode.encoding` parameter will fail.
94
94
95
-
Additionally, the `auto` setting for `Unicode.Encoding` isn't supported in all cases, and can make mistakes when it tries to guess the correct encoding. For best results, use either the `UTF-16LE` or `UTF-16BE` setting if you know the encoding type of the target file.
95
+
Additionally, the `auto` setting for `unicode.encoding` isn't supported in all cases, and can make mistakes when it tries to guess the correct encoding. For best results, use either the `UTF-16LE` or `UTF-16BE` setting if you know the encoding type of the target file.
96
96
{% endhint %}
97
97
98
98
## Monitor a large number of files
@@ -495,7 +495,7 @@ This is common in environments that use:
495
495
496
496
To enable encoding conversion, you will use one of the following two parameters within an input plugin configuration.
497
497
498
-
1.`Unicode.Encoding`
498
+
1.`unicode.encoding`
499
499
500
500
Use this parameter for high-performance conversion of UTF-16 encoded logs to UTF-8. This method utilizes modern processor features (SIMD instructions) to accelerate the conversion process, making it highly efficient.
501
501
@@ -504,14 +504,14 @@ To enable encoding conversion, you will use one of the following two parameters
504
504
-`UTF-16LE` (Little-Endian)
505
505
-`UTF-16BE` (Big-Endian)
506
506
507
-
1.`Generic.Encoding`
507
+
1.`generic.encoding`
508
508
509
509
Use this parameter to convert from a wide variety of other character encodings, particularly legacy Windows code pages.
510
510
511
511
- Use Case: Essential for logs from older systems or applications configured for specific regions, common in East Asia and Eastern Europe.
512
512
- Supported values: You can use any of the names or aliases in the following list.
0 commit comments