Skip to content

Commit 7327cc7

Browse files
author
owan
committed
docs: Add json.escape_unicode option to service configuration
Signed-off-by: owanio1992 <[email protected]>
1 parent 65148d9 commit 7327cc7

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

administration/configuring-fluent-bit/classic-mode/configuration-file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The `Service` section defines global properties of the service. The following ke
3535
| `scheduler.cap` | Set a maximum retry time in seconds. Supported in v1.8.7 and greater. | `2000` |
3636
| `scheduler.base` | Set a base of exponential backoff. Supported in v1.8.7 and greater. | `5` |
3737
| `json.convert_nan_to_null` | If enabled, `NaN` converts to `null` when Fluent Bit converts `msgpack` to `json`. | `false` |
38+
| `json.escape_unicode` | When Fluent Bit is serializing a MessagePack record into JSON, this option allows to specify if the raw UTF-8 strings should be escaped or not. | `false` |
3839
| `sp.convert_from_str_to_num` | If enabled, Stream processor converts from number string to number type. | `true` |
3940
| `windows.maxstdio` | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | `512` |
4041

administration/configuring-fluent-bit/yaml/configuration-file.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ The `service` section defines the global properties of the service. The Service
8181
| `scheduler.cap` | Set a maximum retry time in seconds. Supported from v1.8.7. | `2000` |
8282
| `scheduler.base` | Sets the base of exponential backoff. Supported from v1.8.7. | `5` |
8383
| `json.convert_nan_to_null` | If enabled, NaN is converted to null when Fluent Bit converts `msgpack` to JSON. | `false` |
84+
| `json.escape_unicode` | When Fluent Bit is serializing a MessagePack record into JSON, this option allows to specify if the raw UTF-8 strings should be escaped or not. | `false` |
8485
| `sp.convert_from_str_to_num` | If enabled, Stream processor converts from number string to number type. | `true` |
8586
| `windows.maxstdio` | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | `512` |
8687

administration/configuring-fluent-bit/yaml/service-section.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ The `service` section defines global properties of the service. The available co
2121
| `scheduler.cap` | Sets a maximum retry time in seconds. Supported in v1.8.7 and greater. | `2000` |
2222
| `scheduler.base` | Sets the base of exponential backoff. Supported in v1.8.7 and greater. | `5` |
2323
| `json.convert_nan_to_null` | If enabled, `NaN` is converted to `null` when Fluent Bit converts `msgpack` to `json`. | `false` |
24+
| `json.escape_unicode` | When Fluent Bit is serializing a MessagePack record into JSON, this option allows to specify if the raw UTF-8 strings should be escaped or not. | `false` |
2425
| `sp.convert_from_str_to_num` | If enabled, the Stream Processor converts strings that represent numbers to a numeric type. | `true` |
2526

2627
## Configuration example

0 commit comments

Comments
 (0)