From 2333daec58dcb55746a80f95257b2244c5aeb021 Mon Sep 17 00:00:00 2001
From: Hiroshi Hatake <hiroshi@chronosphere.io>
Date: Thu, 12 Dec 2024 17:05:51 +0900
Subject: [PATCH 1/2] Add a description for Max_Stdio parameter

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
---
 .../configuring-fluent-bit/classic-mode/configuration-file.md    | 1 +
 administration/configuring-fluent-bit/yaml/configuration-file.md | 1 +
 2 files changed, 2 insertions(+)

diff --git a/administration/configuring-fluent-bit/classic-mode/configuration-file.md b/administration/configuring-fluent-bit/classic-mode/configuration-file.md
index 431866276..b86cbbfd9 100644
--- a/administration/configuring-fluent-bit/classic-mode/configuration-file.md
+++ b/administration/configuring-fluent-bit/classic-mode/configuration-file.md
@@ -44,6 +44,7 @@ are:
 | `scheduler.base`  | Set a base of exponential backoff. Supported in v1.8.7 and greater. | `5` |
 | `json.convert_nan_to_null` | If enabled, `NaN` converts to `null` when Fluent Bit converts `msgpack` to `json`. | `false` |
 | `sp.convert_from_str_to_num` | If enabled, Stream processor converts from number string to number type. | `true` |
+| `max_stdio` | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | `512` |
 
 The following is an example of a `SERVICE` section:
 
diff --git a/administration/configuring-fluent-bit/yaml/configuration-file.md b/administration/configuring-fluent-bit/yaml/configuration-file.md
index 87e062799..fc36bf9ef 100644
--- a/administration/configuring-fluent-bit/yaml/configuration-file.md
+++ b/administration/configuring-fluent-bit/yaml/configuration-file.md
@@ -82,6 +82,7 @@ The _service_ section defines the global properties of the service. The Service
 | scheduler.base  | Sets the base of exponential backoff. The property is supported from v1.8.7.                                                                                                                                                                                                                          | 5             |
 | json.convert_nan_to_null | If enabled, NaN is converted to null when fluent-bit converts msgpack to json.    | false         |
 | sp.convert_from_str_to_num | If enabled, Stream processor converts from number string to number type.        | true          |
+| max\_stdio | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | 512 |
 
 The following is an example of a _service_ section:
 

From 3426100a7ab9254f14fc3296f9c66dd8c45bb65b Mon Sep 17 00:00:00 2001
From: Hiroshi Hatake <hiroshi@chronosphere.io>
Date: Mon, 30 Dec 2024 23:38:06 +0900
Subject: [PATCH 2/2] config: Follow windows. prefix change

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
---
 .../configuring-fluent-bit/classic-mode/configuration-file.md   | 2 +-
 .../configuring-fluent-bit/yaml/configuration-file.md           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/administration/configuring-fluent-bit/classic-mode/configuration-file.md b/administration/configuring-fluent-bit/classic-mode/configuration-file.md
index b86cbbfd9..6fb8878d4 100644
--- a/administration/configuring-fluent-bit/classic-mode/configuration-file.md
+++ b/administration/configuring-fluent-bit/classic-mode/configuration-file.md
@@ -44,7 +44,7 @@ are:
 | `scheduler.base`  | Set a base of exponential backoff. Supported in v1.8.7 and greater. | `5` |
 | `json.convert_nan_to_null` | If enabled, `NaN` converts to `null` when Fluent Bit converts `msgpack` to `json`. | `false` |
 | `sp.convert_from_str_to_num` | If enabled, Stream processor converts from number string to number type. | `true` |
-| `max_stdio` | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | `512` |
+| `windows.maxstdio` | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | `512` |
 
 The following is an example of a `SERVICE` section:
 
diff --git a/administration/configuring-fluent-bit/yaml/configuration-file.md b/administration/configuring-fluent-bit/yaml/configuration-file.md
index fc36bf9ef..e9e9b9070 100644
--- a/administration/configuring-fluent-bit/yaml/configuration-file.md
+++ b/administration/configuring-fluent-bit/yaml/configuration-file.md
@@ -82,7 +82,7 @@ The _service_ section defines the global properties of the service. The Service
 | scheduler.base  | Sets the base of exponential backoff. The property is supported from v1.8.7.                                                                                                                                                                                                                          | 5             |
 | json.convert_nan_to_null | If enabled, NaN is converted to null when fluent-bit converts msgpack to json.    | false         |
 | sp.convert_from_str_to_num | If enabled, Stream processor converts from number string to number type.        | true          |
-| max\_stdio | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | 512 |
+| windows.maxstdio | If specified, the limit of stdio is adjusted. Only provided for Windows. From 512 to 2048 is allowed. | 512 |
 
 The following is an example of a _service_ section: