File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -422,16 +422,16 @@ Change one line format in the S3 object. Supported formats are "out_file",
422
422
423
423
424
424
At this format, "time" and "tag" are omitted. But you can set these
425
- information to the record by setting "include_tag_key" / "tag_key" and
426
- "include_time_key" / "time_key" option. If you set following configuration in
425
+ information to the record by setting ` <inject> ` option. If you set following configuration in
427
426
S3 output:
428
427
429
428
# v1
430
429
<format>
431
430
@type json
432
- include_time_key true
433
- time_key log_time # default is time
434
431
</format>
432
+ <inject>
433
+ time_key log_time
434
+ </inject>
435
435
# v0.12
436
436
@format json
437
437
include_time_key true
@@ -441,15 +441,14 @@ then the record has log_time field.
441
441
442
442
{"log_time":"time string",...}
443
443
444
+ See also [ official Inject Section article] ( https://docs.fluentd.org/configuration/inject-section ) .
445
+
444
446
* ltsv
445
447
446
448
key1:value1\tkey2:value2
447
449
key1:value1\tkey2:value2
448
450
...
449
451
450
-
451
- "ltsv" format also accepts "include_xxx" related options. See "json" section.
452
-
453
452
* single_value
454
453
455
454
You can’t perform that action at this time.
0 commit comments