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}`. In addition, you can use [buffer placeholders](https://docs.fluentd.org/configuration/buffer-section#placeholders) in this parameter.
301
+
The default format is `%{path}%{time_slice}_%{index}.%{file_extension}`.
302
+
In addition, you can use [buffer placeholders](https://docs.fluentd.org/configuration/buffer-section#placeholders) in this parameter,
303
+
so you can embed tag, time and record value like below:
For instance, using the example configuration above, actual object keys on S3
302
311
will be something like:
@@ -437,22 +446,29 @@ uri of proxy environment.
437
446
438
447
**path**
439
448
440
-
path prefix of the files on S3. Default is "" (no prefix). [buffer placeholder](https://docs.fluentd.org/configuration/buffer-section#placeholders) is supported.
449
+
path prefix of the files on S3. Default is "" (no prefix).
450
+
[buffer placeholder](https://docs.fluentd.org/configuration/buffer-section#placeholders) is supported,
451
+
so you can embed tag, time and record value like below.
452
+
453
+
path logs/%Y%m%d/${tag}/
454
+
<buffer tag,time>
455
+
# buffer parameters...
456
+
</buffer>
441
457
442
-
**buffer_path (required)**
458
+
**buffer_path (for v0.12)**
443
459
444
460
path prefix of the files to buffer logs.
445
461
446
462
This parameter is for v0.12. Use `<buffer>`'s `path` in v1.
447
463
448
-
**time_slice_format**
464
+
**time_slice_format(for v0.12)**
449
465
450
466
Format of the time used as the file name. Default is '%Y%m%d'. Use
451
467
'%Y%m%d%H' to split files hourly.
452
468
453
469
This parameter is for v0.12. Use buffer placeholder for `path` / `s3_object_key_format` in v1.
454
470
455
-
**time_slice_wait**
471
+
**time_slice_wait(for v0.12)**
456
472
457
473
The time to wait old logs. Default is 10 minutes. Specify larger value if
0 commit comments