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
This should correct the severe vale errors and most of the suggestions, as well as matching current style.
Signed-off-by: Lynette Miles <[email protected]>
Copy file name to clipboardExpand all lines: pipeline/inputs/tail.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ Additionally, the `auto` setting for `Unicode.Encoding` isn't supported in all c
86
86
{% endhint %}
87
87
88
88
{% hint style="info" %}
89
-
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.
89
+
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.
90
90
91
91
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.
92
92
{% endhint %}
@@ -473,40 +473,40 @@ While file rotation is handled, there are risks of potential log loss when using
473
473
474
474
{% endhint %}
475
475
476
-
## Character Encoding Conversion
476
+
## Character encoding conversion
477
477
478
478
This feature allows Fluent Bit to convert logs from various character encodings into the standard UTF-8 format.
479
479
This is crucial for processing logs from systems, especially Windows, that use legacy or non-UTF-8 encodings.
480
480
Proper conversion ensures that your log data is correctly parsed, indexed, and searchable.
481
481
482
-
### When to Use This Feature
482
+
### When to use this feature
483
483
484
-
You should use this feature if your log files or messages are not in UTF-8 and you are seeing garbled or incorrectly rendered characters.
484
+
You should use this feature if your log files or messages aren't in UTF-8 and you are seeing garbled or incorrectly rendered characters.
485
485
This is common in environments that use:
486
486
487
487
- Modern Windows applications that log in UTF-16.
488
488
489
-
- Legacy Windows systems with applications that use traditional code pages (e.g., ShiftJIS, GBK, Win1252).
489
+
- Legacy Windows systems with applications that use traditional code pages (for example, ShiftJIS, GBK, Win1252).
490
490
491
-
### Configuration Parameters
491
+
### Configuration parameters
492
492
493
493
To enable encoding conversion, you will use one of the following two parameters within an input plugin configuration.
494
494
495
495
1.`Unicode.Encoding`
496
496
497
-
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.
497
+
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.
498
498
499
-
- Use Case: Ideal for logs coming from modern Windows environments that default to UTF-16.
500
-
- Supported Values:
501
-
- UTF-16LE (Little-Endian)
502
-
- UTF-16BE (Big-Endian)
499
+
- Use Case: Ideal for logs coming from modern Windows environments that default to UTF-16.
500
+
- Supported Values:
501
+
- UTF-16LE (Little-Endian)
502
+
- UTF-16BE (Big-Endian)
503
503
504
504
1.`Generic.Encoding`
505
505
506
-
Use this parameter to convert from a wide variety of other character encodings, particularly legacy Windows code pages.
506
+
Use this parameter to convert from a wide variety of other character encodings, particularly legacy Windows code pages.
507
507
508
-
- Use Case: Essential for logs from older systems or applications configured for specific regions, common in East Asia and Eastern Europe.
509
-
- Supported Values: You can use any of the names or aliases listed below.
508
+
- Use Case: Essential for logs from older systems or applications configured for specific regions, common in East Asia and Eastern Europe.
509
+
- Supported Values: You can use any of the names or aliases listed below.
510
510
511
511
### East Asian Encodings
512
512
@@ -516,7 +516,7 @@ Use this parameter to convert from a wide variety of other character encodings,
516
516
-`UHC` (Unified Hangul Code): (Aliases: `CP949` and `Windows-949`)
517
517
-`Big5`: (Alias: `CP950`)
518
518
519
-
### Windows (ANSI) Encodings
519
+
### Windows (ANSI) encodings
520
520
521
521
-`Win1250` (Central European): (Alias: `CP1250`)
522
522
-`Win1251` (Cyrillic): (Alias: `CP1251`)
@@ -526,12 +526,12 @@ Use this parameter to convert from a wide variety of other character encodings,
526
526
-`Win1255` (Hebrew): (Alias: `CP1255`)
527
527
-`Win1256` (Arabic): (Alias: `CP1256`)
528
528
529
-
### DOS (OEM) Encodings
529
+
### DOS (OEM) encodings
530
530
531
531
-`Win866` (Cyrillic - DOS): (Alias: `CP866`)
532
532
-`Win874` (Thai): (Alias: `CP874`)
533
533
534
-
### Configuration Example
534
+
### Configuration example
535
535
536
536
Here is an example of how to use `Generic.Encoding` with the Tail input plugin to read a log file encoded in ShiftJIS.
0 commit comments