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
Describe the bug
The fluentd in_tail source position file compaction documentation implies one can use units like 72h for the configuration but it appeary to strip the unit and use seconds.
will print that it is cleaning up every 24 seconds, not every 24 hours for each configuration:
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:46:56 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:20 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
2020-03-27 08:47:44 +0000 [info]: #0 Clean up the pos file
Expected behavior
Either the configuration unit is used or the documentation adapted to state it expects seconds as input.
Your Environment
Fluentd or td-agent version: 1.9.2 td-agent 3.6.0
Kernel version: uname -r
Your Configuration
see reproduce
The text was updated successfully, but these errors were encountered:
Describe the bug
The fluentd in_tail source position file compaction documentation implies one can use units like
72h
for the configuration but it appeary to strip the unit and use seconds.https://docs.fluentd.org/input/tail#pos_file_compaction_interval currently has as example:
To Reproduce
for example:
will print that it is cleaning up every 24 seconds, not every 24 hours for each configuration:
Expected behavior
Either the configuration unit is used or the documentation adapted to state it expects seconds as input.
Your Environment
uname -r
Your Configuration
see reproduce
The text was updated successfully, but these errors were encountered: