From cdbd3e909b3bcbed1617b6bc3e0d1abe78099e68 Mon Sep 17 00:00:00 2001 From: zoklk Date: Fri, 10 Apr 2026 08:52:39 +0000 Subject: [PATCH 1/2] docs(in_exec): add command_timeout parameter documentation Signed-off-by: zoklk --- input/exec.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/input/exec.md b/input/exec.md index e28b98f5..4449a3b8 100644 --- a/input/exec.md +++ b/input/exec.md @@ -23,6 +23,7 @@ It is included in Fluentd's core. time_format %Y-%m-%d %H:%M:%S run_interval 10s + command_timeout 60s ``` @@ -67,6 +68,14 @@ The tag of the output events. The interval time between periodic program runs. If not specified, command script runs only once. +### `command_timeout` + +| type | default | version | +| :--- | :--- | :--- | +| time | nil | 1.19.0 | + +Command (program) execution timeout. If the command runs longer than this value, the child process is killed. + ### `read_block_size` | type | default | version | From 975c8a3e7336542abdba75d1c6eedb902b96ac51 Mon Sep 17 00:00:00 2001 From: Byun Jincheol Date: Fri, 10 Apr 2026 18:15:23 +0900 Subject: [PATCH 2/2] Update input/exec.md Co-authored-by: Shizuo Fujita Signed-off-by: zoklk --- input/exec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/exec.md b/input/exec.md index 4449a3b8..ab87a0ee 100644 --- a/input/exec.md +++ b/input/exec.md @@ -72,7 +72,7 @@ The interval time between periodic program runs. If not specified, command scrip | type | default | version | | :--- | :--- | :--- | -| time | nil | 1.19.0 | +| time | nil | 1.20.0 | Command (program) execution timeout. If the command runs longer than this value, the child process is killed.