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 default format is `%{path}%{time_slice}_%{index}.%{file_extension}`.
299
+
The default format is `%{path}%{time_slice}_%{index}.%{file_extension}`. In addition, you can use [buffer placeholders](https://docs.fluentd.org/configuration/buffer-section#placeholders) in this parameter.
300
300
301
301
For instance, using the example configuration above, actual object keys on S3
302
302
will be something like:
@@ -352,7 +352,7 @@ See `Use your compression algorithm` section for adding another format.
352
352
**`<format>` or format**
353
353
354
354
Change one line format in the S3 object. Supported formats are "out_file",
355
-
"json", "ltsv" and "single_value". See also [official Formatter article](https://docs.fluentd.org/formatter).
355
+
"json", "ltsv", "single_value" and other formatter plugins. See also [official Formatter article](https://docs.fluentd.org/formatter).
356
356
357
357
* out_file (default).
358
358
@@ -372,7 +372,14 @@ information to the record by setting "include_tag_key" / "tag_key" and
372
372
"include_time_key" / "time_key" option. If you set following configuration in
373
373
S3 output:
374
374
375
-
format json
375
+
# v1
376
+
<format>
377
+
@type json
378
+
include_time_key true
379
+
time_key log_time # default is time
380
+
</format>
381
+
# v0.12
382
+
@format json
376
383
include_time_key true
377
384
time_key log_time # default is time
378
385
@@ -430,22 +437,28 @@ uri of proxy environment.
430
437
431
438
**path**
432
439
433
-
path prefix of the files on S3. Default is "" (no prefix).
440
+
path prefix of the files on S3. Default is "" (no prefix).[buffer placeholder](https://docs.fluentd.org/configuration/buffer-section#placeholders) is supported.
434
441
435
442
**buffer_path (required)**
436
443
437
444
path prefix of the files to buffer logs.
438
445
446
+
This parameter is for v0.12. Use `<buffer>`'s `path` in v1.
447
+
439
448
**time_slice_format**
440
449
441
450
Format of the time used as the file name. Default is '%Y%m%d'. Use
442
451
'%Y%m%d%H' to split files hourly.
443
452
453
+
This parameter is for v0.12. Use buffer placeholder for `path` / `s3_object_key_format` in v1.
454
+
444
455
**time_slice_wait**
445
456
446
457
The time to wait old logs. Default is 10 minutes. Specify larger value if
447
458
old logs may reach.
448
459
460
+
This parameter is for v0.12. Use `<buffer>`'s `timekey_wait` in v1.
0 commit comments