Skip to content

Make configuration examples use v1 parameters instead of v0.12 ones - #706

Merged
kenhys merged 1 commit into
fluent:1.0from
Watson1978:fix-v0.12-style-config-examples
Oct 7, 2026
Merged

kenhys merged 1 commit into
fluent:1.0from
Watson1978:fix-v0.12-style-config-examples

Conversation

@Watson1978

Copy link
Copy Markdown
Contributor

Several examples still used v0.12 parameters such as a top-level flush_interval, format apache2 and out_s3's time_slice_format. They work only through compat_parameters, so readers keep copying the old style. One example had retry_limit inside <buffer>, which is not converted and is silently ignored.

This moves them to the v1 <buffer> and <parse> sections, renames retry_limit to retry_max_times, and lets timekey set the S3 time format. The v0.12 examples in output/README.md and the migration pages are kept on purpose, since they show the old format for comparison.

🤖 Generated with Claude Code

These examples still use v0.12 parameters. Most work only because of
compat_parameters, so readers copy an outdated style. retry_limit in a
<buffer> section is not converted at all and is silently ignored.

- Move flush_interval into a <buffer> section
- Replace format apache2 with a <parse> section
- Rename retry_limit to retry_max_times in a <buffer> section
- Drop out_s3's time_slice_format and let timekey set the time format
- Refer to the <buffer> section instead of buffer_path and buffer_type

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@netlify

netlify Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for fluentd-docs ready!

Name Link
🔨 Latest commit 86ccf64
🔍 Latest deploy log https://app.netlify.com/projects/fluentd-docs/deploys/6ac60224cdf8070008913aa1
😎 Deploy Preview https://deploy-preview-706--fluentd-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Watson1978
Watson1978 requested a review from kenhys October 7, 2026 08:28
@kenhys
kenhys merged commit 44afe42 into fluent:1.0 Oct 7, 2026
6 checks passed
@Watson1978
Watson1978 deleted the fix-v0.12-style-config-examples branch October 8, 2026 01:14
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