Skip to content

Commit 2b2d6c6

Browse files
authored
Merge pull request #385 from fluent/missing-buffer-default-values
out_forward, out_file: Add missing default value of <buffer>
2 parents 00e87fe + 363ce21 commit 2b2d6c6

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

output/file.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It is included in Fluentd's core.
2525

2626
Please see the [Configuration File](../configuration/config-file.md) article for the basic structure and syntax of the configuration file.
2727

28-
For `<buffer>`, refer to [Buffer Section Configuration](../configuration/buffer-section.md).
28+
For `<buffer>`, refer to [`<buffer>` Section](#less-than-buffer-greater-than-section).
2929

3030
## Plugin Helpers
3131

@@ -58,7 +58,7 @@ path /path/to/${tag}/${key1}/file.%Y%m%d
5858
</buffer>
5959
```
6060

61-
See [Buffer Section Configurations](../configuration/buffer-section.md) for more detail.
61+
See [`<buffer>` Section](#less-than-buffer-greater-than-section) for more detail.
6262

6363
The `path` parameter is used as `<buffer>`'s `path` in this plugin.
6464

@@ -112,6 +112,34 @@ Add event `time` and event `tag` to record.
112112

113113
See [Inject Section Configurations](../configuration/inject-section.md) for more details.
114114

115+
### `<buffer>` Section
116+
117+
See [Buffer Section Configurations](../configuration/buffer-section.md) for more details.
118+
119+
#### `@type`
120+
121+
| type | default | version |
122+
| :--- | :--- | :--- |
123+
| string | file | 0.14.9 |
124+
125+
Overwrites the default value in this plugin.
126+
127+
#### `chunk_keys`
128+
129+
| type | default | version |
130+
| :--- | :--- | :--- |
131+
| array | time | 0.14.9 |
132+
133+
Overwrites the default value in this plugin.
134+
135+
#### `timekey`
136+
137+
| type | default | version |
138+
| :--- | :--- | :--- |
139+
| time | 86400 | 0.14.9 |
140+
141+
Overwrites the default value in this plugin.
142+
115143
### `utc`
116144

117145
Deprecated parameter. Use `timekey_use_utc` in `<buffer>` instead.

output/forward.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,18 @@ For more details, see [Secondary Output](./#secondary-output).
450450

451451
Verify that a connection can be made with one of `out_forward` nodes at the time of startup.
452452

453+
### `<buffer>`
454+
455+
See [Buffer Section Configurations](../configuration/buffer-section.md) for more details.
456+
457+
#### `chunk_keys`
458+
459+
| type | default | version |
460+
| :--- | :--- | :--- |
461+
| array | tag | 0.14.9 |
462+
463+
Overwrites the default value in this plugin.
464+
453465
## Tips and Tricks
454466

455467
### How to connect to a TLS/SSL enabled server?

0 commit comments

Comments
 (0)