April 2022
Intermediate to advanced
392 pages
12h 2m
English
Some configuration attributes of Fluentd require us to express time in a relative manner, (i.e., how long from now). Such values in a readable form are best done using simple integers and time types—seconds, minutes, and hours. The following table shows how this is done in Fluentd.
|
Interval |
Character |
Examples |
|---|---|---|
|
Seconds |
s |
10s → 10 seconds 0.1s → 100ms |
|
Minutes |
m |
1m → 1 minute 0.25m → 15 seconds |
|
Hours |
h |
24h → 24 hours 0.25h → 15 minutes |
|
Days |
d |
1d → 1 day 0.5d → 12 hours |
The date representation for input and output is driven by how Ruby can parse custom ...