cosmo0920/fluent-bit-go-s3

When multiple outputs, only latest definition is valid

antennix opened this issue ยท 6 comments

Problem

The definition appears to be overwritten
Example:

[OUTPUT]
    Name s3
    Match           LogA
    AccessKeyID     ******
    SecretAccessKey ********
    Bucket          A
    S3Prefix        A
    Region          ap-northeast-1

[OUTPUT]
    Name s3
    Match           LogB
    AccessKeyID     ******
    SecretAccessKey ********
    Bucket          B
    S3Prefix        B
    Region          ap-northeast-1

Result:
LogA โ†’ Bucket B,S3Prefix B
LogB โ†’ Bucket B,S3Prefix B

Does anyone have the same problem?

Multiple instance is not supported yet.

I see. Thanks!

Will be supported within a couple of days.

I've created #9 to fix this issue.

Could you try it out, @antennix?

Perhaps, are you also interested in the patch(#9), @yo-nakamura-mediba?

yeah multiple output function works correctly.
thank you!