You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The path of the file. The actual path is path + time + ".log" by default. The `path` parameter supports placeholders, so you can embed `time`, `tag` and `record` fields in the path.
51
53
@@ -67,8 +69,8 @@ Initially, you may see a file which looks like `/path/to/file.%Y%m%d/buffer.b569
67
69
### `append`
68
70
69
71
| type | default | version |
70
-
| :--- | :--- | :--- |
71
-
| bool | false | 0.14.0 |
72
+
| :--- | :------| :------ |
73
+
| bool | false | 0.14.0|
72
74
73
75
Determines whether the flushed chunk is appended to an existing file or not. The default is not appended. By default, `out_file` flushes each chunk to a different path.
74
76
@@ -118,25 +120,25 @@ See [Buffer Section Configurations](../configuration/buffer-section.md) for more
118
120
119
121
#### `@type`
120
122
121
-
| type | default | version |
122
-
| :--- | :--- | :--- |
123
-
| string | file | 0.14.9 |
123
+
| type | default | version |
124
+
| :-----| :------| :------ |
125
+
| string | file | 0.14.9|
124
126
125
127
Overwrites the default value in this plugin.
126
128
127
129
#### `chunk_keys`
128
130
129
-
| type | default | version |
130
-
| :--- | :--- | :--- |
131
-
| array | time | 0.14.9 |
131
+
| type | default | version |
132
+
| :----| :------| :------ |
133
+
| array | time | 0.14.9|
132
134
133
135
Overwrites the default value in this plugin.
134
136
135
137
#### `timekey`
136
138
137
139
| type | default | version |
138
-
| :--- | :--- | :--- |
139
-
| time | 86400 | 0.14.9 |
140
+
| :--- | :------| :------ |
141
+
| time | 86400 | 0.14.9|
140
142
141
143
Overwrites the default value in this plugin.
142
144
@@ -147,23 +149,23 @@ Deprecated parameter. Use `timekey_use_utc` in `<buffer>` instead.
147
149
### `add_path_suffix`
148
150
149
151
| type | default | version |
150
-
| :--- | :--- | :--- |
151
-
| bool | true | 0.14.9 |
152
+
| :--- | :------| :------ |
153
+
| bool | true | 0.14.9|
152
154
153
155
Add path suffix or not. See also the `path_suffix` parameter.
154
156
155
157
### `path_suffix`
156
158
157
-
| type | default | version |
158
-
| :--- | :--- | :--- |
159
-
| string | ".log" | 0.14.9 |
159
+
| type | default | version |
160
+
| :-----| :------| :------ |
161
+
| string | ".log" | 0.14.9|
160
162
161
163
The suffix for output result.
162
164
163
165
### `compress`
164
166
165
167
| type | default |
166
-
| :--- | :---|
168
+
| :--- | :------|
167
169
| enum | text |
168
170
169
171
Compresses flushed files.
@@ -172,10 +174,10 @@ No compression is performed by default.
172
174
173
175
Supported values:
174
176
175
-
*`text`
176
-
*`gz`
177
-
*`gzip`
178
-
*`zstd` (since v1.19.0)
177
+
-`text`
178
+
-`gz`
179
+
-`gzip`
180
+
-`zstd` (since v1.19.0)
179
181
180
182
### `recompress`
181
183
@@ -206,8 +208,8 @@ Please see the [logging](../deployment/logging.md) article for further details.
206
208
207
209
For common output / buffer parameters, please check the following articles:
If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation \(CNCF\)](https://cncf.io/). All components are available under the Apache 2 License.
0 commit comments