fluent-bit-go-s3 icon indicating copy to clipboard operation
fluent-bit-go-s3 copied to clipboard

Get time from input?

Open digitalsanity opened this issue 4 years ago • 1 comments

Preloading 5GB of old logs here -- would it be possible to add a TimeKey / use time from the input if available rather than time.Now for the filename?

digitalsanity avatar Mar 03 '20 20:03 digitalsanity

No. I followed the time behavior for fluent-plugin-s3. It uses time.Now() equivalent value for timestamp: https://github.com/fluent/fluent-plugin-s3/blob/master/lib/fluent/plugin/out_s3.rb

cosmo0920 avatar Mar 04 '20 01:03 cosmo0920