cosmo0920 / fluent-bit-go-s3

[Deprecated] The predessor of fluent-bit output plugin for Amazon S3. https://aws.amazon.com/s3/
Apache License 2.0
33 stars 13 forks source link

Proposal: Matches with the fluent bit log format. #33

Closed k-kinzal closed 4 years ago

k-kinzal commented 4 years ago

Problem

There is a difference in the output format between fluent bit and fluent bit go s3.

fluent bit log

[2020/04/13 09:41:04] [ info] [engine] started (pid=1)

fluent bit go s3

time="2020-04-13T09:41:04Z" level=info msg="[flb-go 0] Starting fluent-bit-go-s3: (version=0.7.0, branch=HEAD, revision=e8a6673)"

This is not a big problem, but it does complicate the parsing of the log.

So I would like to change the format of the log, how about that?

Steps to replicate

None. This is feature request.

Expected Behavior or What you need to ask

...

Using Fluentd and S3 plugin versions

cosmo0920 commented 4 years ago

fluent-bit-go-s3 uses logrus for logger. logrus seems to support customizing logging format. https://github.com/sirupsen/logrus#formatters