Skip to content

Fix parameter type, default value#638

Open
Watson1978 wants to merge 7 commits into
fluent:1.0from
Watson1978:fix-parameter-value
Open

Fix parameter type, default value#638
Watson1978 wants to merge 7 commits into
fluent:1.0from
Watson1978:fix-parameter-value

Conversation

@Watson1978

Copy link
Copy Markdown
Contributor

This PR will fix the default values of configuration parameter, or parameter types.

The default value was changed at fluent/fluentd#1311

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
The rate_period was introduced at fluent/fluentd#3535.
The default value was 5 from the beginning.

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
The backlog parameter was introduced at fluent/fluentd@48b5173

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
The proto parameter was introduced at fluent/fluentd@adb82fb

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978
Watson1978 requested a review from kenhys July 23, 2026 02:49
@Watson1978 Watson1978 changed the title Fix parameter value / type Fix parameter type, default value Jul 23, 2026
| type | default | version |
| :--- | :--- | :--- |
| bool | false | 0.14.0 |
| bool | true | 0.14.0 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| bool | true | 0.14.0 |
| bool | true | 0.14.9 |

ref.

 gg auto_typecast G config_param | \grep -E "0\.14\.(10|[7-9])"
fluentd-0.14.10/lib/fluent/plugin/filter_record_transformer.rb:    config_param :auto_typecast, :bool, default: true
fluentd-0.14.9/lib/fluent/plugin/filter_record_transformer.rb:    config_param :auto_typecast, :bool, default: true
fluentd-0.14.7/lib/fluent/plugin/filter_record_transformer.rb:    config_param :auto_typecast, :bool, default: false # false for lower version compatibility
fluentd-0.14.8/lib/fluent/plugin/filter_record_transformer.rb:    config_param :auto_typecast, :bool, default: false # false for lower version compatibility

Comment thread input/http.md
| type | default | version |
| :--- | :--- | :--- |
| size | 10 \(seconds\) | 0.14.0 |
| time | 10 \(seconds\) | 0.14.0 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix it self is LGTM, but version seems incorrect.
(It seems that supported since 0.10.0)

Comment thread input/monitor_agent.md
| type | default | version |
| :--- | :--- | :--- |
| integer | 60 | 0.14.0 |
| time | 60 | 0.14.0 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| time | 60 | 0.14.0 |
| time | 60 | 0.12.17 |
gg emit_interval  G config_param|sort G monitor
fluentd-0.12.17/lib/fluent/plugin/in_monitor_agent.rb:    config_param :emit_interval, :time, :default => 60
fluentd-0.12.18/lib/fluent/plugin/in_monitor_agent.rb:    config_param :emit_interval, :time, :default => 60
fluentd-0.12.19/lib/fluent/plugin/in_monitor_agent.rb:    config_param :emit_interval, :time, :default => 60
fluentd-0.12.20/lib/fluent/plugin/in_monitor_agent.rb:    config_param :emit_interval, :time, :default => 60

Comment thread input/tail.md
| type | default | version |
| :--- | :--- | :--- |
| time | 60 \(seconds\) | 1.15 |
| time | 5 \(seconds\) | 1.15 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| time | 5 \(seconds\) | 1.15 |
| time | 5 \(seconds\) | 1.15.0 |

Comment thread input/unix.md
| type | default | version |
| :---: | :---: | :---: |
| integer | 1024 | 0.14.0 |
| integer | nil | 0.14.0 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| integer | nil | 0.14.0 |
| integer | nil | 0.14.1 |

No in_unix for 0.14.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants