diff --git a/input/exec.md b/input/exec.md index e28b98f5..ab87a0ee 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.20.0 | + +Command (program) execution timeout. If the command runs longer than this value, the child process is killed. + ### `read_block_size` | type | default | version |