Skip to content

Commit

Permalink
Add unixtime_millis, unixtime_micros and unixtime_nanos
Browse files Browse the repository at this point in the history
This commit adds the time types introduced by
fluent/fluentd#3220.

Signed-off-by: abicky <[email protected]>
  • Loading branch information
abicky committed Jan 12, 2021
1 parent 9cd7d68 commit 70a0c04
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions configuration/inject-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,24 @@ Injected Record:
type

* Default: `float`
* Available values: `float`, `unixtime`, `string`
* `float`: seconds from Epoch + nano seconds \(e.g.
* Available values:
* `float`: seconds from Epoch + microseconds \(e.g.

1510544836.154709804\)
1510544836.154709\)

* `unixtime`: seconds from Epoch \(e.g. 1510544836\)
* `unixtime_millis`: milliseconds from Epoch \(e.g.

1510544836154\)

* `unixtime_micros`: microseconds from Epoch \(e.g.

1510544836154709\)

* `unixtime_nanos`: nanoseconds from Epoch \(e.g.

1510544836154709804\)

* `unixtime`: seconds from Epoch \(e.g. 1510544815\)
* `string`: use format specified by `time_format`, local time or time

zone
Expand Down

0 comments on commit 70a0c04

Please sign in to comment.